Skip to content

Commit

Permalink
Apply eslint-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vin0401 authored and github-actions[bot] committed Dec 11, 2024
1 parent 61b4ef6 commit 8789a8b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions assets/js/src/core/components/collapse/collapse.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -28,26 +28,26 @@ export const _default: StoryObj<CollapseProps> = {
items: [
{
key: '1',
...CollapseItemDefault.args,
...CollapseItemDefault.args
},

{
key: '2',
...CollapseItemDefault.args,
...CollapseItemDefault.args
},

{
key: '3',
...CollapseItemDefault.args,
},
],
...CollapseItemDefault.args
}
]
}
}

export const Accordion: StoryObj<CollapseProps> = {
args: {
..._default.args,
accordion: true,
accordion: true
}
}

Expand All @@ -57,23 +57,23 @@ export const HandleUniqueItems: StoryObj<CollapseProps> = {
items: [
{
key: '1',
...CollapseItemDefault.args,
...CollapseItemDefault.args
},

{
key: '2',
...CollapseItemDefault.args,
bordered: false,
theme: 'primary',
hasContentSeparator: false,
hasContentSeparator: false
},

{
key: '3',
...CollapseItemDefault.args,
},
...CollapseItemDefault.args
}
],
bordered: true,
theme: 'success',
theme: 'success'
}
}

0 comments on commit 8789a8b

Please sign in to comment.