rn-weui
v1.0.3
Published
weui for react-native
Downloads
13
Readme
rn-weui
一套基于 Weui 的 React Native 组件库
目录结构
rn-weui
├── README.md
├── assets # 资源
├── docs # 文档说明
├── fonts # 字体
├── example # 示例代码
├── package.json # package.json
├── src # rn-weui 组件源码
└── test # 测试文件
安装
# install
npm i rn-weui --save
# link
rnpm link
rnpm link react-native-image-picker
For iOS 10+, Add the NSPhotoLibraryUsageDescription, NSCameraUsageDescription, and NSMicrophoneUsageDescription (if allowing video) keys to your Info.plist with strings describing why your app needs these permissions
使用
import { Button } from 'rn-weui'
export default () =>
<Button type="primary" onPress={() => {}}></Button>
TODO
- [x] Grid
- [x] Button
- [x] Toast
- [x] Msg
- [x] Article
- [x] Icons
- [x] Panel
- [x] Progress
- [x] Tab
- [x] ActionSheet
- [x] Dialog
- [x] SearchBar
- [x] Cell
- [x] Slider
- [x] Preview
- [x] Mask
- [x] Popup
- [x] LoadMore
- [x] Gallery
- [x] Flex
- [x] Badge
- [x] Agreement
- [x] Picker
- [x] Select
- [x] Toptips
- [ ] example
License
The MIT License(http://opensource.org/licenses/MIT)