generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add developing/testing component docs to Storybook
- Loading branch information
Showing
4 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/storybook-react/src/stories/Introduction.stories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { Description, Meta } from "@storybook/addon-docs"; | ||
import README from "@utrecht/component-library-react/README.md?raw"; | ||
import { Markdown, Meta } from "@storybook/blocks"; | ||
import document from "@utrecht/component-library-react/README.md?raw"; | ||
|
||
<Meta id="react--readme" title="React Component/Component Introduction" /> | ||
|
||
{/* @license CC0-1.0 */} | ||
|
||
<Description markdown={README} /> | ||
<Markdown>{document}</Markdown> |
8 changes: 8 additions & 0 deletions
8
packages/storybook-react/src/stories/contributing.stories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Markdown, Meta } from "@storybook/blocks"; | ||
import document from "@utrecht/component-library-react/CONTRIBUTING.md?raw"; | ||
|
||
<Meta id="react--contributing" title="React Component/Developing components" /> | ||
|
||
{/* @license CC0-1.0 */} | ||
|
||
<Markdown>{document}</Markdown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Markdown, Meta } from "@storybook/blocks"; | ||
import document from "@utrecht/component-library-react/TESTING.md?raw"; | ||
|
||
<Meta id="react--testing" title="React Component/Testing components" /> | ||
|
||
{/* @license CC0-1.0 */} | ||
|
||
<Markdown>{document}</Markdown> |