Skip to content

Commit

Permalink
add readme to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Jun 20, 2024
1 parent ed5069a commit 6105951
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const examplesOnly = process.env.EXAMPLES_ONLY === 'true';

const config: StorybookConfig = {
stories: [
'../**/*.mdx',
{
directory: '../examples',
files: '**/*.stories.@(ts|svelte)',
Expand Down
5 changes: 5 additions & 0 deletions examples/README.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Meta, Markdown } from '@storybook/blocks';
import README from '../README.md?raw';

<Meta title="README" />
<Markdown>{README}</Markdown>

0 comments on commit 6105951

Please sign in to comment.