代码拉取完成,页面将自动刷新
A UI component library based on React Native (Android & iOS).
快速上手 | 参与组件开发 | 参与文档/网站编辑开发 | 组件库
您可以使用我们制定的模版(@uiw/react-native-template
)创建一个新项目:
# 此模板默认集成了一些必用的依赖,如路由,组件库等
npx react-native init AwesomeProject --template @uiw/react-native-template
yarn add @uiw/react-native react-native-svg@12.1.1 react-native-root-siblings@4.1.1 react-native-gesture-handler@2.0.0
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>
)
}
}
# 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
Licensed under the MIT License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。