@@ -30,16 +30,18 @@ const Component = () => {
30
30
31
31
_ Table below contains all types of the props available in the SegmentedSwitch component._
32
32
33
- | Name | Type | Default | Description |
34
- | :---------- | :-------------------------------------------- | :------ | :---------------------------------- |
35
- | dataTest | ` string ` | | Optional prop for testing purposes. |
36
- | help | ` React.Node ` | | Optional help message. |
37
- | error | ` React.Node ` | | Optional error message. |
38
- | options | [ ` Option[] ` ] ( #option ) | | Array of options. |
39
- | onChange | ` (ev: ChangeEvent<HTMLInputElement>) => void ` | | Function for handling change event. |
40
- | onFocus | ` (ev: FocusEvent<HTMLInputElement>) => void ` | | Function for handling focus event. |
41
- | label | ` string ` | | Label of the component. |
42
- | showTooltip | ` boolean ` | ` false ` | Show tooltip. |
33
+ | Name | Type | Default | Description |
34
+ | :------------- | :-------------------------------------------- | :------ | :--------------------------------------------------------------------------------------------- |
35
+ | dataTest | ` string ` | | Optional prop for testing purposes. |
36
+ | help | ` React.Node ` | | Optional help message. |
37
+ | error | ` React.Node ` | | Optional error message. |
38
+ | options | [ ` Option[] ` ] ( #option ) | | Array of options. |
39
+ | onChange | ` (ev: ChangeEvent<HTMLInputElement>) => void ` | | Function for handling change event. |
40
+ | onFocus | ` (ev: FocusEvent<HTMLInputElement>) => void ` | | Function for handling focus event. |
41
+ | label | ` string ` | | Label of the component. |
42
+ | ariaLabel | ` string ` | | Optional ` aria-label ` attribute. |
43
+ | ariaLabelledby | ` string ` | | Optional ` aria-labelledby ` attribute. Receives an id of the element that labels the component. |
44
+ | showTooltip | ` boolean ` | ` false ` | Show tooltip. |
43
45
44
46
## Option
45
47
0 commit comments