Selector
DropdownSelector allows user to select from options displayed in adropdown
Import
import { Selector } from "io-elements"
Usage
Props
NAME | TYPE | REQUIRED | DEFAULT |
---|---|---|---|
title | String | false | ` ` |
Listdata | { name: string; value: string }[] | array of objects | false | [empty array] |
containerStyle | ViewStyle | object | false | { borderRadius: 10, borderWidth: 2, borderColor: "red", width: 200, } |
dropdownTextStyle | TextStyle | object | false | #2089dc |
iconStyle | object | false | { size: 30, color: "#000000", } |
btnType | solid or outlined | string | false | solid |
onSelect | function | false | ()=>{} |