mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 07:41:58 +08:00
15 lines
342 B
Plaintext
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>
|
|
```
|