storybook/docs/snippets/common/storybook-auto-docs-mdx-docs-dos-donts.mdx.mdx
2022-12-15 23:25:44 +00:00

15 lines
342 B
Plaintext

```mdx
{/* Guideline.mdx */}
<Guidelines>
<Dos>
- Use buttons for the main actions on your page
- Identify the primary action and make it `primary`
</Dos>
<Donts>
- Use a button when a link will do (e.g., for navigation-only actions)
- Use multiple `primary` buttons in a single UI state
</Donts>
</Guidelines>
```