storybook/docs/_snippets/storybook-mdx-template-with-prop.md
2024-11-17 16:46:37 +00:00

33 lines
598 B
Markdown

```mdx filename="DocumentationTemplate.mdx" renderer="common" language="mdx"
import { Meta, Title, Primary, Controls, Stories } from '@storybook/blocks';
{/*
* 👇 The isTemplate property is required to tell Storybook that this is a template
* See https://storybook.js.org/docs/api/doc-blocks/doc-block-meta
* to learn how to use
*/}
<Meta isTemplate />
<Title />
# Default implementation
<Primary />
## Inputs
The component accepts the following inputs (props):
<Controls />
---
## Additional variations
Listed below are additional variations of the component.
<Stories />
```