Select Box [BottomSheet]
BottomSheet based SelectBox for your Ultra-Modern Mobile UI.
Usage
import {SelectBox} from "react-native-lights";const SelectBox = () => {const data ={placeholder: 'Select',label: 'Lorem ipsum ',}const options =['option1','option2','option3']return (<View><SelectBox data={data} options={options} /></View>);};
Props
Namelabel | Typestring | default- | description Label for the input text box |
NameTextBoxStyle | Typestyle object | default- | descriptionCustom style for input Text Box |
Nameoptions | TypeArray | default- | descriptionArray of options passed in as array |
Nameplaceholder | Typestring | defaultPlaceholder | descriptionPlaceholder text |
NameplaceholderColor | Typestring | defaultc4c4c4 | descriptionPlaceholder color |