import type { Meta, StoryFn } from '@storybook/react'; import type { SkeletonProps } from './index'; import { Skeleton } from './index'; export default { title: 'UI/Skeleton', component: Skeleton, } satisfies Meta; const Template: StoryFn = args => ( <> {Array.from({ length: 4 }).map(i => (
))} ); export const Default: StoryFn = Template.bind(undefined); Default.args = {}; export const Circle: StoryFn = Template.bind(undefined); Circle.args = { variant: 'circular', }; export const Rectangle: StoryFn = Template.bind(undefined); Rectangle.args = { variant: 'rectangular', }; export const Text: StoryFn = Template.bind(undefined); Text.args = { variant: 'text', };