responsive and config
This commit is contained in:
parent
e74c6a5a23
commit
5f4aedff31
10 changed files with 54 additions and 41 deletions
|
@ -10,6 +10,11 @@ export default interface ContentField
|
|||
format: "unordered" | "ordered";
|
||||
children: Array<{ type: "list-item"; children: Array<TypeField> }>;
|
||||
}
|
||||
| {
|
||||
type: "code";
|
||||
children: Array<{ type: "list-item"; children: Array<TypeField> }>;
|
||||
language: "plaintext";
|
||||
}
|
||||
> {}
|
||||
|
||||
export type TypeField = TextField | { type: "link"; url: string; children: Array<TextField> };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue