Skip to content

Commit f6c7a6f

Browse files
authored
Merge pull request #78 from miljodir/storybook-missing-accordion-prop
Added missing storybook description for AccordionItem
2 parents 7eb1bb8 + d6126c6 commit f6c7a6f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

stories/AccordionItem.stories.tsx

+11
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ export default {
5353
},
5454
control: { type: 'text' },
5555
},
56+
expanded: {
57+
type: { name: 'boolean' },
58+
description: 'Determines if the accordion is expanded. If not present, component handles expand/collapse internally.',
59+
table: {
60+
defaultValue: { summary: 'false' },
61+
type: {
62+
summary: 'boolean',
63+
},
64+
},
65+
control: { type: 'boolean' },
66+
},
5667
theme: {
5768
type: { name: 'string' },
5869
description: 'Color theme for accordion.',

0 commit comments

Comments
 (0)