mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-17 12:19:20 +00:00
[4/n][Storybook] Modal argTypes update
This commit is contained in:
parent
ce7e9174e4
commit
ccc36fd175
@ -7,7 +7,29 @@ const meta: Meta<typeof Modal> = {
|
||||
component: Modal,
|
||||
title: 'Components/Modal',
|
||||
tags: ['autodocs'],
|
||||
argTypes: {},
|
||||
argTypes: {
|
||||
children: {
|
||||
control: 'object',
|
||||
},
|
||||
hasCloseButton: {
|
||||
type: 'boolean',
|
||||
},
|
||||
hasOverlay: {
|
||||
type: 'boolean',
|
||||
},
|
||||
preventClickOutsideToClose: {
|
||||
type: 'boolean',
|
||||
},
|
||||
fullPage: {
|
||||
type: 'boolean',
|
||||
},
|
||||
},
|
||||
args: {
|
||||
hasCloseButton: true,
|
||||
hasOverlay: true,
|
||||
preventClickOutsideToClose: false,
|
||||
fullPage: false,
|
||||
},
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
Loading…
Reference in New Issue
Block a user