Skip to content

Commit

Permalink
Add placeholders to template
Browse files Browse the repository at this point in the history
  • Loading branch information
henck committed Jan 2, 2024
1 parent c0473c7 commit 54c795a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/themes/Template.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { Message } from '../controls/Message';
import { Progress } from '../controls/Progress';
import { Segment } from '../controls/Segment';
import { Textarea } from '../controls/Textarea';
import { Placeholder } from '../controls/Placeholder';
import { Theme, ThemeProvider } from '../styles/Theme';

export const Template = (args) =>
Expand Down Expand Up @@ -235,6 +236,20 @@ export const Template = (args) =>
<DataTable.Column weight={1} label="Sport" order="sport" dir="asc">{(item) => item.sport}</DataTable.Column>
</DataTable>
</div>

<Divider section>Placeholders</Divider>
<Placeholder>
<Placeholder.Header image>
<Placeholder.Line tall />
<Placeholder.Line tall />
</Placeholder.Header>
<Placeholder.Paragraph>
<Placeholder.Line />
<Placeholder.Line />
<Placeholder.Line />
<Placeholder.Line />
</Placeholder.Paragraph>
</Placeholder>
</div>
</ThemeProvider>
</div>
Expand Down

0 comments on commit 54c795a

Please sign in to comment.