Skip to content

Commit

Permalink
test: update ActionButton chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Jan 20, 2025
1 parent 5f5ac2c commit a329a60
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/stories/ActionButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,19 @@ const conditionMap = {
true: { loading: true },
},
layout: {
withText: { layout: "withText", children: "Action Button" },
textOnly: { layout: "withText", children: "Action Button" },
iconFirst: { layout: "withText", children: "Action Button", prefixIcon: <IconBellFill /> },
iconLast: {
layout: "withText",
children: "Action Button",
suffixIcon: <IconChevronRightFill />,
},
iconOnly: { layout: "iconOnly", children: <IconBellFill /> },
},
};

const CommonStoryTemplate: Story = {
args: {
prefixIcon: <IconBellFill />,
suffixIcon: <IconChevronRightFill />,
},
args: {},
render: (args) => (
<VariantTable
Component={meta.component}
Expand Down

0 comments on commit a329a60

Please sign in to comment.