1.0.1 • Published 5 years ago
react-native-tony-touchable v1.0.1
react-native-tony-touchable
A custom touchable with some useful features.
Installation
yarn add react-native-tony-touchableUsage
Import { Text } from 'react-native'
Import Touchable from 'react-native-tony-touchable'
<Touchable bounceable onPress={() => {
//handle click here
console.log("Clicked")
}}>
<Text>Click Me!<Text>
</Touchable>Props
| Prop | Default | Description |
|---|---|---|
| onPress | undefined | Function invoked when touchable in pressed |
| highlight | boolean | ... |
| style | style | ... |
| children | React Component | ... |
| delayPressIn | number | ... |
| bounceable | boolean | ... |
| disabled | boolean | ... |