記錄一下自己暫目前了解和使用的一些開源庫和官方文檔和優秀博客介紹,希望對你有幫助☺️:
1.Toast:
https://github.com/magicismight/react-native-root-toast
2.圖標的使用:
https://github.com/oblador/react-native-vector-icons
3.選擇照片:
https://github.com/lwansbrough/react-native-camera
4.二級菜單:
https://github.com/vczero/react-native-tab-menu
5.日歷組件:
https://github.com/vczero/react-native-calendar
6.輪播組件:
https://github.com/leecade/react-native-swiper
7.模態對話框:
https://github.com/devWayne/react-native-modal
8.Tab-navitor:
https://github.com/happypancake/react-native-tab-navigator
9.滑動切換:
https://github.com/skv-headless/react-native-scrollable-tab-view
參考博客:
http://www.jianshu.com/p/b7788c3d106e
10.側滑:
https://github.com/root-two/react-native-drawer
11.導航欄:
https://github.com/react-community/react-navigation
官方文檔: https://reactnavigation.org/docs/navigators/stack
參考博客:
http://blog.csdn.net/sinat_17775997/article/details/70176688
http://blog.csdn.net/u013718120/article/details/72357698
12.TabBar:
npm i react-native-tab-navigator --save
13.navigation:
https://github.com/wix/react-native-navigation
14.下拉刷新,上拉加載:react-native-pull
http://www.jianshu.com/p/017264724d49
15.iOS個推:
https://github.com/GetuiLaboratory/react-native-getui/blob/master/example/document/iOS.md
16.加載HTML文本信息展示成視圖:
https://github.com/siuying/react-native-htmltext
https://www.oschina.net/p/react-native-htmlview
17.文件操作:
https://github.com/itinance/react-native-fs
18.數據存儲:react-native-storage
https://github.com/sunnylqm/react-native-storage/blob/master/README-CHN.md
19.數據庫:react-native-sqlite 不支持Android
https://github.com/almost/react-native-sqlite
20.動畫:react-native-animatable
21.仿QQ微信列表左右滑動刪除 react-native-swipe-list-view:
https://github.com/dancormier/react-native-swipeout
22.圖片查看器:
https://github.com/halilb/react-native-photo-browser
使用AsyncStorage,但是發現構建相同的保存和獲取功能變得很冗長乏味,太煩人,而這個 Simple Store是基於AsyncStorage 之上構建,能夠簡單直接訪問設備.
24.react-native-timeago:時間處理
25.數據庫操作: react-native-sqlite-storage
26.TextInput輸入鍵盤適應:
react-native-keyboard-aware-scroll-view
27.啟動屏:
https://github.com/crazycodeboy/react-native-splash-screen
28.城市列表選擇:
http://blog.csdn.net/liu__520/article/details/53671912
29.相冊圖片選擇,拍照,裁剪圖片:
https://github.com/ivpusic/react-native-image-crop-picker