# touchable
**Repository Path**: mirrors_react-component/touchable
## Basic Information
- **Project Name**: touchable
- **Description**: React Touchable Component
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-18
- **Last Updated**: 2025-09-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# rc-touchable
---
react touchable component. inspired by react-native.
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![npm download][download-image]][download-url]
[npm-image]: http://img.shields.io/npm/v/rc-touchable.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-touchable
[travis-image]: https://img.shields.io/travis/react-component/touchable.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/touchable
[coveralls-image]: https://img.shields.io/coveralls/react-component/touchable.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/react-component/touchable?branch=master
[gemnasium-image]: http://img.shields.io/gemnasium/react-component/touchable.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/react-component/touchable
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/rc-touchable.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-touchable
## Install
[](https://npmjs.org/package/rc-touchable)
## Usage
```js
import Touchable from 'rc-touchable';
ReactDOM.render(
name | type | default | description |
---|---|---|---|
disabled | boolean | false | |
onPress | ()=>void | onPress/onTap callback | |
onLongPress | ()=>void | onLongPress/onLongTap callback | |
activeClassName | string | className applied to child when active | |
activeStyle | object | style applied to child when active | |
activeStopPropagation | object | stop child active propagate to parent |