Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Latest commit

 

History

History
80 lines (72 loc) · 2.32 KB

README.md

File metadata and controls

80 lines (72 loc) · 2.32 KB

rn-weui Build Status npm version

一套基于 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

  • Grid
  • Button
  • Toast
  • Msg
  • Article
  • Icons
  • Panel
  • Progress
  • Tab
  • ActionSheet
  • Dialog
  • SearchBar
  • Cell
  • Slider
  • Preview
  • Mask
  • Popup
  • LoadMore
  • Gallery
  • Flex
  • Badge
  • Agreement
  • Picker
  • Select
  • Toptips
  • example

License

The MIT License(http://opensource.org/licenses/MIT)