From a329a60af3bff98304962fc2120756cd650c8078 Mon Sep 17 00:00:00 2001 From: malangcat Date: Mon, 20 Jan 2025 22:11:40 +0900 Subject: [PATCH] test: update ActionButton chromatic --- docs/stories/ActionButton.stories.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/stories/ActionButton.stories.tsx b/docs/stories/ActionButton.stories.tsx index c4df8398f..69ff177a4 100644 --- a/docs/stories/ActionButton.stories.tsx +++ b/docs/stories/ActionButton.stories.tsx @@ -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: }, + iconLast: { + layout: "withText", + children: "Action Button", + suffixIcon: , + }, iconOnly: { layout: "iconOnly", children: }, }, }; const CommonStoryTemplate: Story = { - args: { - prefixIcon: , - suffixIcon: , - }, + args: {}, render: (args) => (