Skip to content

Conversation

@umbobabo
Copy link
Contributor

As part of the work for moving away from Layouts, this PR adds the InfoBox and Comparison nodes that share the Info node as atomic building block

}
interface Info extends Parent {
type: "info";
children: [Heading, ImageSet, Paragraph];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
children: [Heading, ImageSet, Paragraph];
children: [Heading?, ImageSet?, Paragraph];

}
interface Comparison extends Parent {
type: "comparison";
children: [Heading, Info, Info];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
children: [Heading, Info, Info];
children: [Heading?, Info, Info];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant