@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
51 lines (36 loc) • 1.51 kB
Markdown
<h1 align="center">React Native Xiaoshu</h1>
<div align="center">
React Native UI library
</div>
[xiaoshu-npm-url]: https://www.npmjs.com/package/@fruits-chain/react-native-xiaoshu
<div align="center">
[][xiaoshu-npm-url]
[][xiaoshu-npm-url]
[](https://www.typescriptlang.org/)
[](https://packagephobia.com/result?p=@fruits-chain/react-native-xiaoshu)
<br>
[](https://www.android.com)
[](https://developer.apple.com/ios)
</div>
## 特点
- 🛡 纯 TypeScript 实现
- 🌈 部分交互/组件支持函数方式调用
- 🎨 支持自定义主题
## 安装
```bash
yarn add @fruits-chain/react-native-xiaoshu
```
## 使用
```tsx
import React from 'react'
import { Provider, Button } from '@fruits-chain/react-native-xiaoshu'
const App: React.FC = () => {
return (
<Provider>
<Button text="普通按钮" type="primary" />
</Provider>
)
}
```
## 参与开发 [](http://makeapullrequest.com)
阅读更多[开发约定](./CONTRIBUTING.md)。