storybook/docs/_snippets/storybook-auto-docs-mdx-docs-dos-donts.md
2024-06-13 17:53:08 +01:00

376 B

{/* 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>