Skip to content

Commit

Permalink
Update TimelineSkeleton stories
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 19, 2021
1 parent cb877f6 commit 726b00e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/TimelineSkeleton/TimelineSkeleton.stories.mdx
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} />

0 comments on commit 726b00e

Please sign in to comment.