content text and dynamic zone components
This commit is contained in:
parent
44b55d9bbb
commit
3df3ba4ebc
22 changed files with 202 additions and 24 deletions
|
@ -1,9 +1,10 @@
|
|||
import type ContentField from "../field/content";
|
||||
import type BaseComponent from "./baseComponent";
|
||||
import type BaseImage from "./baseImage";
|
||||
|
||||
export default interface DynamicZoneColumnImageText extends BaseComponent {
|
||||
__component: "dynamic-zone.column-image-text";
|
||||
text: Array<{ type: string; children: Array<{ type: string; text: string }> }>;
|
||||
text: ContentField;
|
||||
image_left: boolean;
|
||||
image: BaseImage;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import type ContentField from "../field/content";
|
||||
import type BaseComponent from "./baseComponent";
|
||||
|
||||
export default interface DynamicZoneDualColumnText extends BaseComponent {
|
||||
__component: "dynamic-zone.dual-column-text";
|
||||
left_side: Array<{ type: string; children: Array<{ type: string; text: string }> }>;
|
||||
right_side: Array<{ type: string; children: Array<{ type: string; text: string }> }>;
|
||||
left_side: ContentField;
|
||||
right_side: ContentField;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import type ContentField from "../field/content";
|
||||
import type BaseComponent from "./baseComponent";
|
||||
|
||||
export default interface DynamicZoneFullText extends BaseComponent {
|
||||
__component: "dynamic-zone.full-text";
|
||||
text: Array<{ type: string; children: Array<{ type: string; text: string }> }>;
|
||||
text: ContentField;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue