1.0.5 • Published 3 years ago
rn-searchable-selectbox v1.0.5
rn-searchable-selectbox
searchable selectbox component for react native
<SearchableSelectbox data={data} withSeacrh={true or false} mutil={true or false} label="Countries" selectedValue={selected} onValueChange={(selectedValue) => setSelected(selectedValue)} selectboxPlaceHolder="Select" searchPlaceholder="Search" />
props | desc |
---|---|
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}