rc-touchable
v1.3.2
Published
React Touchable Component
Downloads
23,197
Readme
rc-touchable
react touchable component. inspired by react-native.
Install
Usage
import Touchable from 'rc-touchable';
ReactDOM.render(<Touchable onPress={onPress} activeClassName="active">
<div>click</div>
</Touchable>, container);
API
Development
npm install
npm start
Example
http://localhost:8007/examples/
online example: http://react-component.github.io/touchable/
Test Case
npm test
npm run chrome-test
Coverage
npm run coverage
open coverage/ dir
License
rc-touchable is released under the MIT license.