From 2b901e675c624853d15ac2ac9162260b352575fa Mon Sep 17 00:00:00 2001 From: SUMAN RANI Date: Wed, 4 Jun 2025 22:30:00 -0400 Subject: [PATCH] Update ImageBlock.stories.tsx --- docs/stories/blocks/ImageBlock.stories.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/stories/blocks/ImageBlock.stories.tsx b/docs/stories/blocks/ImageBlock.stories.tsx index de3a9fd..db9cf2c 100644 --- a/docs/stories/blocks/ImageBlock.stories.tsx +++ b/docs/stories/blocks/ImageBlock.stories.tsx @@ -1,3 +1,4 @@ +// .storybook/ImageBlock.stories.ts import type { Meta, StoryObj } from '@storybook/react'; import { ImageBlock } from '@vibing-ai/block-kit'; @@ -12,11 +13,12 @@ const meta: Meta = { width: { control: 'text' }, height: { control: 'text' }, rounded: { control: 'boolean' }, - loading: { control: 'radio', options: ['eager', 'lazy'] }, + loading: { control: { type: 'radio' }, options: ['eager', 'lazy'] }, }, }; export default meta; + type Story = StoryObj; export const Basic: Story = { @@ -43,4 +45,4 @@ export const Rounded: Story = { alt: 'Example image with rounded corners', rounded: true, }, -}; \ No newline at end of file +};