diff --git a/assets/js/src/core/components/collapse/collapse.stories.tsx b/assets/js/src/core/components/collapse/collapse.stories.tsx index de98946c3..646f0392c 100644 --- a/assets/js/src/core/components/collapse/collapse.stories.tsx +++ b/assets/js/src/core/components/collapse/collapse.stories.tsx @@ -12,7 +12,7 @@ */ import type { Meta, StoryObj } from '@storybook/react' -import { Collapse, CollapseProps } from './collapse' +import { Collapse, type CollapseProps } from './collapse' import { Extra as CollapseItemDefault } from './item/collapse-item.stories' const config: Meta = { @@ -28,26 +28,26 @@ export const _default: StoryObj = { items: [ { key: '1', - ...CollapseItemDefault.args, + ...CollapseItemDefault.args }, { key: '2', - ...CollapseItemDefault.args, + ...CollapseItemDefault.args }, { key: '3', - ...CollapseItemDefault.args, - }, - ], + ...CollapseItemDefault.args + } + ] } } export const Accordion: StoryObj = { args: { ..._default.args, - accordion: true, + accordion: true } } @@ -57,7 +57,7 @@ export const HandleUniqueItems: StoryObj = { items: [ { key: '1', - ...CollapseItemDefault.args, + ...CollapseItemDefault.args }, { @@ -65,15 +65,15 @@ export const HandleUniqueItems: StoryObj = { ...CollapseItemDefault.args, bordered: false, theme: 'primary', - hasContentSeparator: false, + hasContentSeparator: false }, { key: '3', - ...CollapseItemDefault.args, - }, + ...CollapseItemDefault.args + } ], bordered: true, - theme: 'success', + theme: 'success' } }