interface OptionProps
@formium/react
An 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 | boolean Whether this option is non-interactive. |
id | string Unique identifier of the option Required |
label | string Label text for this option. If omitted, Required |
value | string | number Value of this option. Required |
Build forms, without the tears.
Resources
hello@formium.io — Copyright © 2020 Formium, Inc. All rights reserved.