美文网首页React Native
react-native实用插件集合

react-native实用插件集合

作者: 张大娃创业笔记 | 来源:发表于2019-05-20 16:03 被阅读0次

1. picker选择器:react-native-pickers

demo2.gif

安装方式:

yarn add react-native-pickers
yarn add react-native-svg
react-native link react-native-svg

github地址:https://github.com/iberHK/react-native-picker

2. React-Native 多图片选择 支持裁剪 压缩:react-native-syan-image-picker

687474703a2f2f6f7935727a337266732e626b742e636c6f7564646e2e636f6d2f6769746875622f7379616e2d30312e676966.gif

安装方式:

// Step 1 基于 npm
npm install react-native-syan-image-picker --save

// 或是 yarn
yarn add react-native-syan-image-picker

// Step 2 执行 link
react-native link react-native-syan-image-picker

github地址:https://github.com/syanbo/react-native-syan-image-picker

3. React Native拍照、从相册选择、录像的实现 :react-native-full-image-picker

album.gif
camera.gif

安装方式:

//Install by Yarn:
yarn add react-native-full-image-picker
//Install by NPM:
npm install --save react-native-full-image-picker

github地址:https://github.com/gaoxiaosong/react-native-full-image-picker

相关文章

网友评论

    本文标题:react-native实用插件集合

    本文链接:https://www.haomeiwen.com/subject/ggikzqtx.html