react-native-bpk-component-touchable-overlay
Backpack React Native touchable overlay component.
Installation
npm install react-native-bpk-component-touchable-overlay --save-dev
Usage
;;;;; const styles = StyleSheet; { return <View style=stylescontainer> <BpkTouchableOverlay onPress= null accessibilityLabel="Example touchable overlay" > <BpkText> Lorem ipsum dolor sit amet consectetuer adipiscing elit Aenean commodo ligula eget dolor Aenean massa Cum sociis natoque penatibus et magnis dis parturient montes nascetur ridiculus mus </BpkText> </BpkTouchableOverlay> </View> ; }
Props
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
borderRadius | oneOf('sm', 'lg', 'pill') | false | null |
overlayStyle | object | false | null |