Skip to content

How can I omit the close button in Modals? #2613

Discussion options

You must be logged in to vote

Hi @ConsuelodeIruarrizaga,

The Paste Modal is composable, which means that you can mix or omit certain components however you like. Our ModalHeader Component comes predefined with the close button for the reason Kelsey provided above. If you're certain that your experience does not need the close button (like really really certain), you can simply omit the ModalHeader in your composition and roll your own.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by shleewhite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants