Skip to content

Commit

Permalink
Fixup to prevent merging consecutive lists
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Oct 31, 2024
1 parent 0711230 commit f3db348
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions packages/components/src/button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,12 @@ If provided with `href`, sets the `target` attribute to the `a`.

Specifies the button's style.

- `'primary'` (the primary button styles)
- `'secondary'` (the default button styles)
- `'tertiary'` (the text-based button styles)
- `'link'` (the link button styles)
The accepted values are:

1. `'primary'` (the primary button styles)
2. `'secondary'` (the default button styles)
3. `'tertiary'` (the text-based button styles)
4. `'link'` (the link button styles)

- Type: `"link" | "primary" | "secondary" | "tertiary"`
- Required: No
10 changes: 6 additions & 4 deletions packages/components/src/button/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ type BaseButtonProps = {
/**
* Specifies the button's style.
*
* - `'primary'` (the primary button styles)
* - `'secondary'` (the default button styles)
* - `'tertiary'` (the text-based button styles)
* - `'link'` (the link button styles)
* The accepted values are:
*
* 1. `'primary'` (the primary button styles)
* 2. `'secondary'` (the default button styles)
* 3. `'tertiary'` (the text-based button styles)
* 4. `'link'` (the link button styles)
*/
variant?: 'primary' | 'secondary' | 'tertiary' | 'link';
};
Expand Down

0 comments on commit f3db348

Please sign in to comment.