Skip to content

feat: add InfoBox and Comparison#116

Closed
umbobabo wants to merge 2 commits into
mainfrom
CI-3129
Closed

feat: add InfoBox and Comparison#116
umbobabo wants to merge 2 commits into
mainfrom
CI-3129

Conversation

@umbobabo
Copy link
Copy Markdown
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

Comment thread content-tree.d.ts
}
interface Info extends Parent {
type: "info";
children: [Heading, ImageSet, Paragraph];
Copy link
Copy Markdown
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];

Comment thread content-tree.d.ts
}
interface Comparison extends Parent {
type: "comparison";
children: [Heading, Info, Info];
Copy link
Copy Markdown
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];

@leannecornish-ft
Copy link
Copy Markdown
Contributor

closing in favour of #134

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.

2 participants