Skip to content

Commit

Permalink
Move variant description to story description?
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Nov 21, 2024
1 parent 8db516e commit 42d7cb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/src/button/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ Default.args = {
children: 'Code is poetry',
};

/**
* Primary buttons stand out with bold color fills, making them distinct
* from the background. Since they naturally draw attention, each layout should contain
* only one primary button to guide users toward the most important action.
*/
export const Primary = Template.bind( {} );
Primary.args = {
...Default.args,
Expand Down

0 comments on commit 42d7cb9

Please sign in to comment.