mirror of https://github.com/buster-so/buster.git
Update ColorStyleSegments.stories.tsx
This commit is contained in:
parent
c51fe65868
commit
64bce766b9
|
@ -10,7 +10,7 @@ const meta: Meta<typeof ColorStyleSegments> = {
|
|||
},
|
||||
//tags: ['autodocs'],
|
||||
argTypes: {
|
||||
initialSelectedSegment: {
|
||||
selectedSegment: {
|
||||
control: 'select',
|
||||
options: Object.values(ColorAppSegments),
|
||||
description: 'The initially selected segment'
|
||||
|
@ -34,12 +34,12 @@ type Story = StoryObj<typeof ColorStyleSegments>;
|
|||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
initialSelectedSegment: ColorAppSegments.Colorful
|
||||
selectedSegment: ColorAppSegments.Colorful
|
||||
}
|
||||
};
|
||||
|
||||
export const MonochromeSelected: Story = {
|
||||
args: {
|
||||
initialSelectedSegment: ColorAppSegments.Monochrome
|
||||
selectedSegment: ColorAppSegments.Monochrome
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue