mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
parent
be7bbeda03
commit
e75be23a49
4 changed files with 22 additions and 2 deletions
|
@ -21,6 +21,10 @@ export const Default = () => ({
|
|||
"[data-modal-primary-focus]"
|
||||
),
|
||||
size: select("Size (size)", sizes, "sm"),
|
||||
preventCloseOnClickOutside: boolean(
|
||||
"Prevent the modal from closing when clicking outside (preventCloseOnClickOutside)",
|
||||
false
|
||||
),
|
||||
},
|
||||
modalHeader: {
|
||||
label: text("Optional Label (label in <ModalHeader>)", "Optional Label"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue