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
|`isToggleButton`|`bool`| - | - |`false`| If this is active, it means the button will persist in an "active" state when toggled (see `isToggled`), and back to normal state when untoggled |
32
-
|`isToggled`|`bool`| - | - | - | Tells when the button should present a toggled state. It does not have any effect when `isToggleButton` is false |
33
-
|`isDisabled`|`bool`| - | - | - | Tells when the button should present a disabled state |
34
-
|`onClick`|`func`| ✅ | - | - | What the button will trigger when clicked |
35
-
|`shape`|`oneOf`| - |`round`, `square`|`round`| The container shape of the button |
|`isToggleButton`|`bool`| - | - |`false`| If this is active, it means the button will persist in an "active" state when toggled (see `isToggled`), and back to normal state when untoggled |
32
+
|`isToggled`|`bool`| - | - | - | Tells when the button should present a toggled state. It does not have any effect when `isToggleButton` is false |
33
+
|`isDisabled`|`bool`| - | - | - | Tells when the button should present a disabled state |
34
+
|`onClick`|`func`| ✅ | - | - | What the button will trigger when clicked |
35
+
|`shape`|`oneOf`| - |`round`, `square`|`round`| The container shape of the button |
Copy file name to clipboardexpand all lines: src/components/buttons/secondary-button/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ accessibility reasons.
30
30
|`iconLeft`|`node`| ✅ | - | - | The left icon displayed within the button |
31
31
|`isToggleButton`|`bool`| ✅ | - |`false`| If this is active, it means the button will persist in an "active" state when toggled (see `isToggled`), and back to normal state when untoggled |
32
32
|`isToggled`|`bool`| - | - | - | Tells when the button should present a toggled state. It does not have any effect when `isToggleButton` is false |
33
-
|`theme`|`string`| - |`default`, `blue`|`default`| The component may have a theme only if `isToggleButton` is true |
33
+
|`theme`|`string`| - |`default`, `info`|`default`| The component may have a theme only if `isToggleButton` is true |
34
34
|`isDisabled`|`bool`| - | - | - | Tells when the button should present a disabled state |
35
35
|`buttonAttributes`|`object`| - | - | - | Allows setting custom attributes on the underlying button html element |
36
36
|`type`|`string`| - |`submit`, `reset`, `button`|`button`| Used as the HTML `type` attribute. |
0 commit comments