24jieqi / react-native-xiaoshu

🌈 React Native UI library
https://24jieqi.github.io/react-native-xiaoshu
Apache License 2.0
187 stars 21 forks source link
react-native typescript ui-components

小暑 xiǎo shǔ

React Native UI library
[![](https://img.shields.io/npm/v/@fruits-chain/react-native-xiaoshu.svg)][xiaoshu-npm-url] [![](https://img.shields.io/npm/dm/@fruits-chain/react-native-xiaoshu.svg)][xiaoshu-npm-url] [![](https://img.shields.io/badge/language-typescript-blue.svg)](https://www.typescriptlang.org/) [![install size](https://packagephobia.com/badge?p=@fruits-chain/react-native-xiaoshu)](https://packagephobia.com/result?p=@fruits-chain/react-native-xiaoshu)
[![Platform - Android](https://img.shields.io/badge/platform-Android-3ddc84.svg?logo=android)](https://www.android.com) [![Platform - iOS](https://img.shields.io/badge/platform-iOS-000.svg?logo=apple)](https://developer.apple.com/ios)

特点

安装

## react-native-svg 需大于 12.4.1,结合项目的 React Native 选择一个合适的版本
yarn add @fruits-chain/react-native-xiaoshu react-native-safe-area-context react-native-svg rc-field-form

使用

import React from 'react'
import { Provider, Button } from '@fruits-chain/react-native-xiaoshu'

const App: React.FC = () => {
  return (
    <Provider>
      <Button text="普通按钮" type="primary" />
    </Provider>
  )
}

Expo

SDK 51+

react-native-xiaoshu

参与开发 PRs Welcome

阅读更多开发约定