yueyinger / ant-design-mobile-rn

Ant Design for React Native

Home Page:https://rn.mobile.ant.design/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 简体中文

Ant Design Mobile RN

Codecov npm package NPM downloads Dependency Status Percentage of issues still open Join the chat at https://gitter.im/ant-design/ant-design

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 android

Install & Usage

$ npm install @ant-design/react-native --save

or

yarn add @ant-design/react-native

Installing 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/viewpager

or

yarn add @react-native-community/cameraroll @react-native-picker/picker @react-native-community/segmented-control @react-native-community/slider @react-native-community/viewpager

You need go to ios folder and run pod install (auto linking),Android will handle it by itself.

Link icon fonts

npx react-native link

introduce

Links

Contributing

We welcome all contributions, please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as a GitHub issue. If you'd like to improve code, check out the Development Instruction and have a good time! :)

About

Ant Design for React Native

https://rn.mobile.ant.design/

License:MIT License


Languages

Language:TypeScript 73.8%Language:JavaScript 17.3%Language:Less 5.6%Language:Java 1.0%Language:Ruby 0.9%Language:Objective-C 0.7%Language:HTML 0.6%Language:Starlark 0.1%Language:Shell 0.0%