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: src/components/field-label/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ The `hintIcon` also accepts a custom `color` while defaulting to `warning` in th
55
55
|`hint`|`string` or `node`| - | - | - | Hint for the label. Provides a supplementary but important information regarding the behaviour of the input (e.g warn about uniqueness of a field, when it can only be set once), whereas `description` can describe it in more depth. Can also receive a `hintIcon`. |
56
56
|`description`|`string` or `node`| - | - | - | Provides a description for the title. |
57
57
|`onInfoButtonClick`|`function`| - | - | - | Function called when info button is pressed. Info button will only be visible when this prop is passed. |
58
-
|`tone`|`string`| - |`['primary', 'inverted']`|_| Indicates the tone to be applied to the label |
58
+
|`tone`|`string`| - |`['primary', 'inverted']`|\_| Indicates the tone to be applied to the label |
59
59
|`hintIcon`|`node`| - | - | - | Icon to be displayed beside the hint text. Will only get rendered when `hint` is passed as well. |
60
60
|`badge`|`node`| - | - | - | Badge to be displayed beside the label. Might be used to display additional information about the content of the field (E.g verified email) |
61
61
|`hasRequiredIndicator`|`bool`| - | - |`false`| Indicates if the labeled field is required in a form |
Copy file name to clipboardexpand all lines: src/components/inputs/checkbox-input/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ import { CheckboxInput } from '@commercetools-frontend/ui-kit/switches';
32
32
|`name`|`string`| - | - | - | Used as HTML `name` property. |
33
33
|`children`|`node`| - | - | - | The descriptive text of the CheckboxInput |
34
34
|`isDisabled`|`bool`| - | - |`false`| Disables the CheckboxInput |
35
-
|`isHovered`|`bool`| - | - |`false`| Forces CheckboxInput to be rendered in a hovered state. That's needed for the cases when hovered appearance should be triggered by the parent component and not the CheckboxInput itself. CheckboxInput is capable of handling it's own hovering without the need to pass this prop.|
35
+
|`isReadOnly`|`bool`| - | - |`false`|Makes the CheckboxInput readonly ||`isHovered`|`bool`| - | - |`false`|Forces CheckboxInput to be rendered in a hovered state. That's needed for the cases when hovered appearance should be triggered by the parent component and not the CheckboxInput itself. CheckboxInput is capable of handling it's own hovering without the need to pass this prop. |
36
36
|`isIndeterminate`|`bool`| - | - |`false`| If `true`, this state is shown as a dash in the checkbox, and indicates that its state is neither checked nor unchecked. This is most often used when the checkbox is tied to a collection of items in mixed states (E.g nested checkboxes). This takes precedence visually in case `isChecked` is marked as `true`|
37
37
|`isChecked`|`bool`| - | - |`false`| The checked property sets the checked state of a checkbox. |
38
38
|`hasError`|`bool`| - | - |`false`| Indicates that the checkbox has an error |
0 commit comments