Skip to content

Commit

Permalink
fix Storybook warnings caused by upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
kwickramasekara authored and ljcl committed Nov 9, 2023
1 parent a5f6180 commit 82c0a26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion packages/examples/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const parameters = {
</>
);
},
inlineStories: true,
story: {
inline: true,
},
prepareForInline: (story) => story(),
},
cssprops: {
Expand Down
8 changes: 2 additions & 6 deletions packages/examples/stories/Simple/Simple.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ import { CssPropsBlock } from "@ljcl/storybook-addon-cssprops";

<CssPropsBlock />

<Canvas>
<Story id="simple-component-csf--default-story" />
</Canvas>
<Canvas of={SimpleStories.DefaultStory}></Canvas>

<Canvas>
<Story id="simple-component-csf--secondary-story" />
</Canvas>
<Canvas of={SimpleStories.SecondaryStory}></Canvas>

0 comments on commit 82c0a26

Please sign in to comment.