react-native-tony-touchable

1.0.1 • Public • Published

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

Prop Default Description
onPress undefined Function invoked when touchable in pressed
highlight boolean ...
style style ...
children React Component ...
delayPressIn number ...
bounceable boolean ...
disabled boolean ...

Readme

Keywords

Package Sidebar

Install

npm i react-native-tony-touchable

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.8 kB

Total Files

5

Last publish

Collaborators

  • toneyobaze