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'],
|
//tags: ['autodocs'],
|
||||||
argTypes: {
|
argTypes: {
|
||||||
initialSelectedSegment: {
|
selectedSegment: {
|
||||||
control: 'select',
|
control: 'select',
|
||||||
options: Object.values(ColorAppSegments),
|
options: Object.values(ColorAppSegments),
|
||||||
description: 'The initially selected segment'
|
description: 'The initially selected segment'
|
||||||
|
@ -34,12 +34,12 @@ type Story = StoryObj<typeof ColorStyleSegments>;
|
||||||
|
|
||||||
export const Default: Story = {
|
export const Default: Story = {
|
||||||
args: {
|
args: {
|
||||||
initialSelectedSegment: ColorAppSegments.Colorful
|
selectedSegment: ColorAppSegments.Colorful
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const MonochromeSelected: Story = {
|
export const MonochromeSelected: Story = {
|
||||||
args: {
|
args: {
|
||||||
initialSelectedSegment: ColorAppSegments.Monochrome
|
selectedSegment: ColorAppSegments.Monochrome
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue