常用插件:
react-native-check-box 复选框
react-native-sortable-listview 列表拖拽排序
react-native-doc-viewer 预览组件
react-native-img-cache 图片缓存 依赖于react-native-fetch-blob
react-native-linear-gradient 渐变色
react-native-swiper 轮播
https://github.com/guangqiang-liu/react-native-gradientNavigationBarDemo 渐变导航栏
https://github.com/meituan/beeshell
https://github.com/Meituan-Dianping/beeshell/blob/master/docs/index.md 美团开源组件库,
常用命令:
react-native init 的时候怎么指定版本
react-native init demo --verbose --version 0.60.0
代码:
{/*// {Alert.alert(this.props.navigation.state.params.year)}//从上个界面通过navigate跳转过来 接收参数 取值 用此方式*/}