hy916 / react-native-uiw

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

Home Page:https://uimjs.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


React Native UIW

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

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

您可以使用我们制定的模版(@uiw/react-native-template)创建一个新项目:

# 此模板默认集成了一些必用的依赖,如路由,组件库等
npx react-native init AwesomeProject --template @uiw/react-native-template

Install

yarn add @uiw/react-native react-native-svg@12.1.1 react-native-root-siblings@4.1.1  react-native-gesture-handler@2.8.0

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.

About

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

https://uimjs.github.io

License:MIT License


Languages

Language:TypeScript 83.9%Language:Java 6.6%Language:C++ 3.0%Language:Objective-C++ 1.9%Language:Less 1.1%Language:Objective-C 1.0%Language:JavaScript 0.8%Language:Ruby 0.6%Language:Makefile 0.4%Language:Starlark 0.3%Language:Shell 0.2%Language:HTML 0.1%Language:CMake 0.0%Language:CSS 0.0%