From 0ef23aeb014ef04141ae8a2e5b857c4dc7b186fa Mon Sep 17 00:00:00 2001 From: tkt <37575408+tktcorporation@users.noreply.github.com> Date: Mon, 10 Oct 2022 08:44:19 +0000 Subject: [PATCH] :sparkles: finish https://redwoodjs.com/docs/tutorial/chapter5/storybook --- web/src/components/Article/Article.stories.js | 16 ------------ .../components/Article/Article.stories.tsx | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 16 deletions(-) delete mode 100644 web/src/components/Article/Article.stories.js create mode 100644 web/src/components/Article/Article.stories.tsx diff --git a/web/src/components/Article/Article.stories.js b/web/src/components/Article/Article.stories.js deleted file mode 100644 index e941e7110..000000000 --- a/web/src/components/Article/Article.stories.js +++ /dev/null @@ -1,16 +0,0 @@ -import Article from './Article' - -export const generated = () => { - return ( -
- ) -} - -export default { title: 'Components/Article' } diff --git a/web/src/components/Article/Article.stories.tsx b/web/src/components/Article/Article.stories.tsx new file mode 100644 index 000000000..1f2250587 --- /dev/null +++ b/web/src/components/Article/Article.stories.tsx @@ -0,0 +1,25 @@ +import Article from './Article' + +export const generated = () => { + return ( +
+ ) +} + +export default { title: 'Components/Article' }