1.0.5 • Published 3 years ago

rn-searchable-selectbox v1.0.5

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

rn-searchable-selectbox

searchable selectbox component for react native

alt text

<SearchableSelectbox data={data} withSeacrh={true or false} mutil={true or false} label="Countries" selectedValue={selected} onValueChange={(selectedValue) => setSelected(selectedValue)} selectboxPlaceHolder="Select" searchPlaceholder="Search" />

propsdesc
data{type : array}
withSeacrh{type : bool}
mutil{type : bool}
label{type : string}
selectedValue{type :if multi = true => array ; else => object}
onValueChange{desc : 'evnet when value has change'}
errorMsg{type : string}
selectboxPlaceHolder{type : string}
searchPlaceholder{type : string}

(lebelStyle selectboxStyle selectboxTextStyle errorTextStyle modalHeaderTextStyle searchInputStyle listItemStyle multiBadgeStyle multiBadgeTextStyle multiBadgeIconStyle ) {type : style object}