@fruits-chain/react-native-xiaoshu

🌈 React Native UI library


Keywords
react-native, ui-components, typescript, android, ios, react, ui
License
Apache-2.0
Install
npm install @fruits-chain/react-native-xiaoshu@0.4.0-beta.2

Documentation

小暑 xiǎo shǔ

React Native UI library

install size
Platform - Android Platform - iOS

特点

  • 🛡 纯 TypeScript 实现
  • 🌈 部分交互/组件支持函数方式调用
  • 🎨 支持自定义主题

安装

## 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

  • Expo demo app

SDK 51+

react-native-xiaoshu

参与开发 PRs Welcome

阅读更多开发约定