From d65e3c8ad062e02d10367c83916c14c2cff21ba7 Mon Sep 17 00:00:00 2001 From: chongruei Date: Sun, 17 Sep 2023 01:21:56 +0800 Subject: [PATCH] test(button-group): add variant button --- .../button/stories/button-group.stories.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/packages/components/button/stories/button-group.stories.tsx b/packages/components/button/stories/button-group.stories.tsx index 042f464ea5..49a2817230 100644 --- a/packages/components/button/stories/button-group.stories.tsx +++ b/packages/components/button/stories/button-group.stories.tsx @@ -63,6 +63,14 @@ const Template = (args: ButtonGroupProps) => ( ); +const VariantButtonTemplate = (args: ButtonGroupProps) => ( + + + + + +); + export const Default = { render: Template, @@ -70,3 +78,11 @@ export const Default = { ...defaultProps, }, }; + +export const VariantButton = { + render: VariantButtonTemplate, + + args: { + ...defaultProps, + }, +};