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
Copy file name to clipboardExpand all lines: components/button/readme.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,24 +32,24 @@ const TestButtons = () => (
32
32
33
33
## Properties
34
34
35
-
| Name | Type | Default | Description|
35
+
| Name | Type | Default | Description|
36
36
|:-----|:-----|:-----|:-----|
37
-
|`accent`|`Boolean`|`false`| Indicates if the button should have accent color.|
38
-
|`className`|`String`|`''`| Set a class to style the Component.|
39
-
|`disabled`|`Boolean`|`false`| If true, component will be disabled.|
40
-
|`flat`|`Boolean`|`false`| If true, the button will have a flat look. |
41
-
|`floating`|`Boolean`|`false`| If true, the button will have a floating look. |
42
-
|`href`|`String`|| Creates a link for the button. |
43
-
|`icon`|`Any`|| Value of the icon (See Font Icon Component). |
44
-
|`inverse`|`Boolean`|| If true, the neutral colors are inverted. Useful to put a button over a dark background. |
45
-
|`label`|`String`|| The text string to use for the name of the button.|
46
-
|`mini`|`Boolean`|`false`| To be used with floating button. If true, the button will be smaller.|
47
-
|`neutral`|`Boolean`|`true`| Set it to `false` if you don't want the neutral styles to be included.|
48
-
|`onMouseLeave`|`Function`|| Fires after the mouse leaves the Component.|
49
-
|`onMouseUp`|`Function`|| Fires after the mouse is released from the Component.|
50
-
|`primary`|`Boolean`|`false`| Indicates if the button should have primary color.|
51
-
|`raised`|`Boolean`|`false`| If true, the button will have a raised look. |
52
-
|`ripple`|`Boolean`|`true`| If true, component will have a ripple effect on click.|
37
+
|`accent`|`Boolean`|`false`| Indicates if the button should have accent color.|
38
+
|`className`|`String`|`''`| Set a class to style the Component.|
39
+
|`disabled`|`Boolean`|`false`| If true, component will be disabled.|
40
+
|`flat`|`Boolean`|`false`| If true, the button will have a flat look. |
41
+
|`floating`|`Boolean`|`false`| If true, the button will have a floating look. |
42
+
|`href`|`String`|| Creates a link for the button. |
43
+
|`icon`|`String` or `Element`|| Value of the icon (See Font Icon Component). |
44
+
|`inverse`|`Boolean`|| If true, the neutral colors are inverted. Useful to put a button over a dark background. |
45
+
|`label`|`String`|| The text string to use for the name of the button.|
46
+
|`mini`|`Boolean`|`false`| To be used with floating button. If true, the button will be smaller.|
47
+
|`neutral`|`Boolean`|`true`| Set it to `false` if you don't want the neutral styles to be included.|
48
+
|`onMouseLeave`|`Function`|| Fires after the mouse leaves the Component.|
49
+
|`onMouseUp`|`Function`|| Fires after the mouse is released from the Component.|
50
+
|`primary`|`Boolean`|`false`| Indicates if the button should have primary color.|
51
+
|`raised`|`Boolean`|`false`| If true, the button will have a raised look. |
52
+
|`ripple`|`Boolean`|`true`| If true, component will have a ripple effect on click.|
53
53
54
54
By default it will have neutral colors and a flat aspect even though the `flat` property is `false` by default. Also, some properties exclude others, for example a button cannot be `flat` and `raised` at the same time.
0 commit comments