Skip to content

Commit

Permalink
fix: sx styles
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Dec 23, 2020
1 parent 3bc27fe commit c34c592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/stories/src/mdx-stories/template-bind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ component: Button
order: 2
author: atanasster
---
import { Playground, Story, EditPage } from '@component-controls/blocks';
import { Playground, Story } from '@component-controls/blocks';
import { Button } from '../../../stories/src/components/Button';

export const Template = props => <Button {...props} />;

You can bind stories to templates to reduce the amount of repetitive code. Click on the <EditPage style={{ display: 'inline-block' }}/> button above to see how the templates are linked to the stories.
You can bind stories to templates to reduce the amount of repetitive code. Click on the "Edit this page" button above to see how the templates are linked to the stories.

<Playground>
<Story name='tom' controls={{
Expand Down

0 comments on commit c34c592

Please sign in to comment.