You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
|`colorScheme`|`"blue"|"cyan"|"gray"|"green"|"orange"|"pink"|"purple"|"red"|"teal"|"yellow"|"whiteAlpha"|"blackAlpha"|"linkedin"|"facebook"|"messenger"|"whatsapp"|"twitter"|"telegram"`| Theme color scheme |`"gray"`|
178
+
|`iconSpacing`|`SystemProps["marginRight"]`| The space between the icon and the label | - |
179
+
|`iconSpacing`|`SystemProps["marginRight"]`| The space between the button icon and label. | - |
180
+
|`isActive`|`boolean`| If `true`, the button will be styled in its active state. | - |
181
+
|`isDisabled`|`boolean`| If `true`, the button will be disabled. | - |
182
+
|`isFullWidth`|`boolean`| If `true`, the button will take up the full width of its container.| - |
183
+
|`isLoading`|`boolean`| If `true`, the button will show a spinner.|| - |
184
+
|`leftIcon`|`string`| If added, the button will show an icon before the button's label. | - |
185
+
|`loadingText` | `string` | The label to show in the button when `isLoading` is true If no text is passed, it only shows the spinner | - |
186
+
|`rightIcon` | `string` | If added, the button will show an icon after the button's label. | - |
`CButtonGroup` composes the `CBox` component, so you can pass all its props.
193
+
These are props specific to the `CButtonGroup` component:
194
+
195
+
| Name | Type | Description | Default |
196
+
| :---: | :---: | :---: | :---: |
197
+
|`colorScheme`|`"blue"|"cyan"|"gray"|"green"|"orange"|"pink"|"purple"|"red"|"teal"|"yellow"|"whiteAlpha"|"blackAlpha"||"linkedin"|"facebook"|"messenger"|"whatsapp"|"twitter"|"telegram"`| Color Schemes forButtonGroup are not implementedin the default theme. You can extend the theme to implement them. |-|
198
+
|`isAttached`|`boolean`| If `true`, the borderRadius of button that are direct children will be altered to look flushed together |-|
199
+
|`isDisabled`|`boolean`| If `true`, all wrapped button will be disabled | -|
200
+
|`size`|`"sm"|"md"|"lg"|"xs"`||-|
201
+
|`spacing`|`SystemProps["marginRight"]` The spacing between the buttons |`'0.5rem'`|
0 commit comments