Skip to content

Conversation

@frankensteinke
Copy link

Uses new composable components (DialogHeader, DialogHeading, DialogCloseButton, similar to the existing DialogFooter and DialogContent) to allow a custom markup structure for Dialog headers.

If a heading prop is omitted, the default heading markup will not render at all. I threw in some dev-only console warnings (or they could be errors) if the user skips the heading and the new composable components.

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