Skip to content

Commit

Permalink
test(skeleton): add a text skeleton component storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
bae-sh committed Nov 18, 2024
1 parent 51d78c1 commit b7d93ff
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/skeleton/src/Skeleton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,19 @@ export const SkeletonWithChildren: Story = {
variant: 'rectangular',
},
};

export const SkeletonWithText: Story = {
args: {
loading: true,
asChild: true,
children: (
<span>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis enim
labore quibusdam in officia id veniam assumenda ut, accusamus, officiis
consectetur minima dolorum facere minus, corrupti corporis. Esse, dolor
magni?
</span>
),
variant: 'rectangular',
},
};

0 comments on commit b7d93ff

Please sign in to comment.