Skip to content

Commit

Permalink
fix: arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
gndz07 committed Sep 16, 2024
1 parent adf6664 commit e8c75db
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions components/Accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Large.args = {
export const Collapsible: StoryFn<typeof AccordionForStory> = Template.bind({});
Collapsible.args = {
type: 'single',
collapsible: true,
collapsible: 'true',
};
Collapsible.argTypes = {
size: {
Expand All @@ -73,8 +73,7 @@ Collapsible.argTypes = {
export const MultipleCollapsible: StoryFn<typeof AccordionForStory> = Template.bind({});
MultipleCollapsible.args = {
type: 'multiple',
// @FIXME console warning of this props not being a boolean attribute
collapsible: true,
collapsible: 'true',
};
MultipleCollapsible.argTypes = {
size: {
Expand Down Expand Up @@ -104,7 +103,7 @@ export const DisabledAndCustomTrigger: StoryFn<typeof AccordionForStory> = (args
);
DisabledAndCustomTrigger.args = {
type: 'multiple',
collapsible: true,
collapsible: 'true',
};

export const Complex: StoryFn<typeof AccordionForStory> = (args) => (
Expand Down Expand Up @@ -136,7 +135,7 @@ export const Complex: StoryFn<typeof AccordionForStory> = (args) => (

Complex.args = {
type: 'multiple',
collapsible: true,
collapsible: 'true',
};
Complex.argTypes = {
size: {
Expand Down Expand Up @@ -202,7 +201,7 @@ export const InsideModal: StoryFn<typeof AccordionForStory> = (args) => {

InsideModal.args = {
type: 'multiple',
collapsible: true,
collapsible: 'true',
};
InsideModal.argTypes = {
size: {
Expand Down

0 comments on commit e8c75db

Please sign in to comment.