https://github.com/TEHIK-EE/tedi-design-system/issues/193
Figma
- no API changes
- Move to TEDI-Ready
- Add unit test
- improve WCAG for toggle button
- improve props descriptions
- add documentation to ZeroHeight
| Name |
Required/Optional |
Description |
Type |
Possible Values |
Default |
className |
Optional |
Classname for the button/displayed content |
string |
Any valid CSS class name |
|
content |
Required |
Content displayed when the field is hidden. |
React.ReactNode |
Any valid React node |
|
fieldType |
Required |
Specifies the type of hidden field. |
'textfield' | 'select' | 'datetime' |
'textfield', 'select', 'datetime' |
|
fieldOptions |
Required |
Configuration options for the specified field type. |
TextFieldProps (for textfield), SelectProps (for select), DateTimePickerProps (for datetime) |
Based on the fieldType |
|
https://github.com/TEHIK-EE/tedi-design-system/issues/193
Figma
classNamestringcontentReact.ReactNodefieldType'textfield' | 'select' | 'datetime''textfield','select','datetime'fieldOptionsTextFieldProps(fortextfield),SelectProps(forselect),DateTimePickerProps(fordatetime)fieldType