-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
18 changes: 10 additions & 8 deletions
18
src/components/TimelineSkeleton/TimelineSkeleton.stories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; | ||
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs/blocks'; | ||
import TimelineSkeleton from "./TimelineSkeleton"; | ||
|
||
Renders a skeleton UI to indicate loading of a timeline item. | ||
<Meta | ||
title="Components/TimelineSkeleton" | ||
component={TimelineSkeleton} | ||
/> | ||
|
||
<Meta title="Components/TimelineSkeleton" component={TimelineSkeleton}/> | ||
Renders a skeleton UI to indicate loading of a timeline item. | ||
|
||
<Canvas> | ||
<Story name="Default"> | ||
{args => <TimelineSkeleton {...args} />} | ||
</Story> | ||
<Story name="Default"> | ||
{ args => <TimelineSkeleton {...args} /> } | ||
</Story> | ||
</Canvas> | ||
|
||
|
||
|
||
<ArgsTable of={TimelineSkeleton} /> |