interface OptionProps @formium/reactAn interface for an option in a list, such as in a <select> or RadioGroup.
The idea is that these props can be spread directly to an <option> or <Radio> element.
| Props | Description |
|---|---|
disabled | booleanWhether this option is non-interactive. |
id | stringUnique identifier of the option Required |
label | stringLabel text for this option. If omitted, Required |
value | string | numberValue of this option. Required |
Build forms, without the tears.
Resources
hello@formium.io — Copyright © 2020 Formium, Inc. All rights reserved.