Skip to content

Amber-Nan/react-native-uiw

 
 

Repository files navigation


React Native UIW

A UI component library based on React Native (Android & iOS).

快速上手 | 参与组件开发 | 参与文档/网站编辑开发 | 组件库

Install

yarn add @uiw/react-native [email protected] [email protected] @react-native-picker/[email protected] [email protected]

Basic Usage

import React from 'react';
import { View } from 'react-native';
import { Icon } from '@uiw/react-native'

export default class Demo extends React.Component {
  render() {
    return (
      <View>
        <Icon name='apple' size={46} color='#50CB42' />
      </View>
    )
  }
}

Other

Development

# Install current dependencies, and dependencies in sub-packages
yarn install
yarn run build # Compile package

Real-time monitoring of package and document website local preview

# Step 1
yarn run lib:watch      # Compile and output JS file
# Step 2
yarn run lib:watch:type # Output type file d.ts
# Step 3
yarn run start          # Run the preview document website locally

License

Licensed under the MIT License.

Packages

No packages published

Languages

  • TypeScript 93.8%
  • Java 2.0%
  • Objective-C 1.4%
  • Less 1.3%
  • JavaScript 0.8%
  • Ruby 0.3%
  • Other 0.4%