Package Exports
- @uiw/react-native
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@uiw/react-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Native UIW
A UI component library based on React Native (Android & iOS).
快速上手 | 参与组件开发 | 参与文档/网站编辑开发 | 组件库
Install
yarn add @uiw/react-native react-native-svgBasic Usage
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>
)
}
}Other
Development
# Install current dependencies, and dependencies in sub-packages
yarn install
yarn run build # Compile packageReal-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⌚type # Output type file d.ts
# Step 3
yarn run start # Run the preview document website locallyLicense
Licensed under the MIT License.