ChoiceFormatter

Source
import { ChoiceFormatter } from "@prestojs/ui";
ChoiceFormatter<T>(props)

Component Props:

PropTypeDescription
*
props
An object with the properties below
props.blankLabelReactNode
*props.choices[any, string][]|
props.invalidChoiceLabelReactNode
*props.valueT
props.warnOnInvalidChoiceboolean

Examples