0.0.5 • Published 4 years ago
@fruits-chain/react-native v0.0.5
Components Based on Ant Design Mobile RN
A configurable Mobile UI specification and React-based implementation.
Features
- Follow Ant Design Mobile UI specification.
- Configurable UI style for different products.
- Support web and native usages based on React Native.
- Develop in TypeScript.
Demo
# clone
git clone git@github.com:ant-design/ant-design-mobile-rn.git
# go to ant rn folder
cd ant-design-mobile-rn
# install dependencies
yarn
# start ios simulator or android
# cd rn-kitchen-sink/ios && pod install
yarn ios # or yarn androidInstall & Usage
$ npm install @ant-design/react-native --saveor
yarn add @ant-design/react-nativeInstalling peer dependencies (4.0.0+)
npm install @react-native-community/cameraroll @react-native-picker/picker @react-native-community/segmented-control @react-native-community/slider @react-native-community/viewpageror
yarn add @react-native-community/cameraroll @react-native-picker/picker @react-native-community/segmented-control @react-native-community/slider @react-native-community/viewpagerYou need go to ios folder and run
pod install(auto linking),Android will handle it by itself.
Link icon fonts
npx react-native link