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
UIW Design for React Native
(Android & iOS)
Install
npm i @uiw/react-nativeBasic 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>
)
}
}Components
Layout
Navigation
Data Entry
Data Display
- Avatar
- Badge
- Ellipsis
- Empty
- Grid
- Icon
- List
- Typography
H1~H6·<Del>·<S>·<U>·<Strong>·<Br />·<P />·<Hr />·<Div />
Feedback
Development
Run instructions for iOS:
• cd react-native-uiw && react-native run-ios
- or -
• Open ReactNativeUIW/ios/ReactNativeUIW.xcworkspace in Xcode or run "xed -b ios"
• Hit the Run button
Run instructions for Android:
• Have an Android emulator running (quickest way to get started), or a device connected.
• cd react-native-uiw && react-native run-androidrm -rf ios/build
# https://github.com/react-navigation/react-navigation/issues/6071
cd ios/
pod install
# Clear pods.
pod deintegrate
# pod rm Podfile.lock
pod install
# Reinstall pods
pod install --repo-update --verbose
# Run Project
yarn run ios