Skip to content

Commit

Permalink
fix: replace Preview to Canvas in icons and QProgressIndicatior stori…
Browse files Browse the repository at this point in the history
…es (#158)
  • Loading branch information
Sergey authored Sep 8, 2021
1 parent 1f6c3f0 commit e62c85a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions stories/core/icons.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
Meta,
Preview,
Canvas,
Story,
ArgsTable,
IconGallery,
Expand Down Expand Up @@ -58,7 +58,7 @@ export const Template = args => ({
`
});

<Preview>
<Canvas>
<Story
name="Playground"
args={{
Expand All @@ -69,6 +69,6 @@ export const Template = args => ({
>
{Template.bind({})}
</Story>
</Preview>
</Canvas>

<ArgsTable story="Playground" />
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Meta, Preview, Story } from '@storybook/addon-docs';
import { Meta, Canvas, Story } from '@storybook/addon-docs';
import { QProgressIndicatiorStory } from './Template';

<Meta title="Plugins/QProgressIndicatior" />

# QProgressIndicatior

<Preview>
<Canvas>
<Story name="Default">{QProgressIndicatiorStory.bind({})}</Story>
</Preview>
</Canvas>

## Plugin options

Expand Down

0 comments on commit e62c85a

Please sign in to comment.