react-native-bpk-component-select
Backpack React Native select component.
Installation
npm install react-native-bpk-component-
Usage
;;;; const styles = StyleSheet; <View styles=stylescontainer> <BpkSelect onPress=openSelectUI label="Select an Option" /> <BpkSelect onPress=openSelectUI label="Select an Option" valid=false validationMessage="An option must be selected to continue" /> </View>);
Props
Property | PropType | Required | Default Value |
---|---|---|---|
onPress | func | true | - |
disabled | bool | false | false |
label | oneOfType(string, element) | false | null |
valid | oneOf(true, false, null) | false | null |
validationMessage | string | false | null |