0.2.0 • Published 2 months ago

react-native-owtb-ui v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

react-native-owtb-ui

owtb rn 组件库

组件库文档

组件文档

Example

可以拉去本项目代码,安装依赖后 通过运行下面命令 查看组件效果

# web端效果
yarn example web

# android端效果, 跑android和ios需要先执行 cd example && npx expo prebuild 命令构建android 和ios目录
yarn example android

# ios端效果
yarn example ios

注意事项

可以通过更换gradle的地址,提高本地下载速度

# 修改 example/android/gradle/wrapper/gradle-wrapper.properties 文件 distributionUrl 变量。 将地址换成国内gradle地址

distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.10.2-all.zip

Installation

npm install react-native-owtb-ui

Usage

import { multiply } from 'react-native-owtb-ui';

// ...

const result = await multiply(3, 7);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library