在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:dancormier/react-native-swipeout开源软件地址:https://github.com/dancormier/react-native-swipeout开源编程语言:JavaScript 64.2%开源软件介绍:DEPRECATEDthis is no longer supported, please consider using https://github.com/software-mansion/react-native-gesture-handler instead. react-native-swipeoutiOS-style swipeout buttons that appear from behind a component Installation
Usage exampleSee example/index.ios.js for a more detailed example. See the Wiki usage tips. To use swipeout behind a iOS-style listitem, try react-native-listitem. import Swipeout from 'react-native-swipeout';
// Buttons
var swipeoutBtns = [
{
text: 'Button'
}
]
// Swipeout component
<Swipeout right={swipeoutBtns}>
<View>
<Text>Swipe me left</Text>
</View>
</Swipeout> Props
Button props
To Dohttps://github.com/dancormier/react-native-swipeout/issues |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论