rox-touchable

0.0.36 • Public • Published

subtitle: 可点击元素 group: General

Touchable

Touchable 定义简单的 touch 事件。


API

属性 说明 类型 默认值
onPress 点击事件 function(e)
activeStyle 手指按下时的样式 object

使用示例:

<Touchable style={{backgroundColor:'#3089dc',height:'80rem',justifyContent:'center',alignItems:'center'}} activeStyle={{backgroundColor:'#cccccc'}}>Hello Nuke</Touchable>

Readme

Keywords

Package Sidebar

Install

npm i rox-touchable

Weekly Downloads

15

Version

0.0.36

License

none

Unpacked Size

1.13 kB

Total Files

3

Last publish

Collaborators

  • basemoz
  • leozdgao
  • qoder
  • ylb
  • zhoukekestar