Picker
Allows user to select an item.
version
5.6.0
install
yarn add @welcome-ui/picker
usage
import { Picker } from '@welcome-ui/picker'
With icons #
With colors and a default value #
Properties #
Name | Type(s) | Default | Required |
---|---|---|---|
label | ReactElement<any, string | JSXElementConstructor<any>> | ||
required | Boolean | ||
name | string | ||
onChange | MouseEventHandler<HTMLLabelElement> | ||
options | PickerOption[] | ||
value | string |
Packages #
Dependencies #
Peer dependencies #
Previous
PasswordInputNext
RadioGroup