1.0.1 • Published 3 years ago

react-native-tony-touchable v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

react-native-tony-touchable

A custom touchable with some useful features.

Installation

yarn add react-native-tony-touchable

Usage

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

PropDefaultDescription
onPressundefinedFunction invoked when touchable in pressed
highlightboolean...
stylestyle...
childrenReact Component...
delayPressInnumber...
bounceableboolean...
disabledboolean...