From ecf06c47b501ed4f4a48b01ba77ee5f920220c16 Mon Sep 17 00:00:00 2001 From: AlejoYarce Date: Thu, 28 Nov 2024 23:09:55 -0500 Subject: [PATCH] fixing LayerItem storybook for radio variant --- .../Layer/LayerItem/LayerItem.stories.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/Layer/LayerItem/LayerItem.stories.tsx b/src/components/Layer/LayerItem/LayerItem.stories.tsx index da2e607..9b436b6 100644 --- a/src/components/Layer/LayerItem/LayerItem.stories.tsx +++ b/src/components/Layer/LayerItem/LayerItem.stories.tsx @@ -12,6 +12,13 @@ const meta = { layout: 'centered', }, tags: ['autodocs'], + decorators: [ + (Story: any) => ( + + + + ), + ], } satisfies Meta export default meta @@ -32,11 +39,6 @@ export const Radio: Story = { caption: 'Caption', variant: 'radio', }, - render: (args) => ( - - - - ), } export const Disabled: Story = { @@ -56,11 +58,6 @@ export const RadioDisabeld: Story = { variant: 'radio', disabled: true, }, - render: (args) => ( - - - - ), } export const NoInfoButton: Story = {