Pill Toggle
Last updated
Last updated
disabled
boolean
Determines if the toggle control is disabled or not.
selected
number | string
Value of the already selected option.
options
Array<ItemProps> (See below)
Array of items
label
string
Label of the option
value
string | number
Value for the option
disabled
boolean
If true, disables the current option
onPress
function
Function to be called when pill is pressed