Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ba5a157

Browse files
committed
correct props table rows for variant and variantColor
1 parent 352db04 commit ba5a157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/pages/button.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ The Button composes the `CPseudoBox` component so you can pass props for `CPseud
152152
| Name | Type | Default | Description |
153153
| --------------------- | ------------------------------------------------| --------| ------------------------------------------------------------------------------------------------------- |
154154
| `aria-label` | `string` | | The label of the button |
155-
| `variant ` | `string` | | The color of the button. Use a color key passed in `theme.colors`. |
156-
| `variantColor` | `outline`, `ghost`, `unstyled` , `link` , `solid` | `solid` | The color of the button. Use a color key passed in `theme.colors`. |
155+
| `variant ` | `outline`, `ghost`, `unstyled` , `link` , `solid` | `solid` | Changes the visual style of the button. |
156+
| `variantColor` | `string` | | The color of the button. Use a color key passed in `theme.colors`. |
157157
| `isDisabled` | `boolean` | | If `true`, the button will be disabled. |
158158
| `isLoading` | `boolean` | | If `true`, the button will show a spinner |
159159
| `loadingText` | `string` | | The label to show in the button when isLoading is true. If no text is passed, it only shows the spinner |

0 commit comments

Comments
 (0)