react-native-opacity-button
Usage 使用
import OpacityButton from 'react-native-opacity-button';
// TODO: What to do with the module?
<OpacityButton />
属性介绍
属性 | 功能 | 类型 | 默认值 |
---|---|---|---|
text | 按钮文本 | string | '按钮' |
onPress | 事件方法 | ()=>{} | 加载中 |
style | button自定义style | style | -- |
txtStyle | button文本自定义style | style | -- |