5.1.2 • Published 12 days ago

@ant-design/react-native v5.1.2

Weekly downloads
1,583
License
MIT
Repository
github
Last release
12 days ago

English | 简体中文

Ant Design Mobile RN

npm.io 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.

If you only care about the style you may give [Tanjun] a try.

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.

Expo

  • Web support

    Preview Web Platform in [here] 🔗

  • Expo demo app

SDK 49+ iOSSDK 49+ Android
Expo SDK 44SDK 47 iOSSDK 47 Android

Open the camera app on your device and scan the code above, need install expo app: https://expo.io/tools

Development

  • Running On Device
# 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
cd rn-kitchen-sink/ios && pod install
yarn ios 

# start android
yarn android
  • Running On Expo
# go to expo example folder
cd example

# install dependencies
yarn

# start expo
yarn expo

Install & Usage

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

or

yarn add @ant-design/react-native

Installing peer dependencies

npm install @react-native-community/segmented-control @react-native-community/slider @ant-design/icons-react-native react-native-gesture-handler

or

yarn add @react-native-community/segmented-control @react-native-community/slider @ant-design/icons-react-native react-native-gesture-handler

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

Link icon fonts

// config `react-native.config.js` in project’s root directory
module.exports = {
  assets: ['node_modules/@ant-design/icons-react-native/fonts'],
};

then

npx react-native-asset

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! :)

5.1.2

12 days ago

5.1.1

1 month ago

5.1.0

2 months ago

5.0.5

6 months ago

5.0.4

1 year ago

5.0.3

1 year ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.2.0

3 years ago

4.1.0

3 years ago

4.0.7

3 years ago

4.0.6

3 years ago

4.0.5

4 years ago

4.0.4

4 years ago

4.0.3

4 years ago

4.0.2

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.0.0-3

4 years ago

4.0.0-2

4 years ago

4.0.0-1

4 years ago

3.3.0

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

5 years ago

3.1.15

5 years ago

3.1.14

5 years ago

3.1.13

5 years ago

3.1.12

5 years ago

3.1.11

5 years ago

3.1.10

5 years ago

3.1.9

5 years ago

3.1.8

5 years ago

3.1.7

5 years ago

3.1.6

5 years ago

3.1.5

5 years ago

3.1.4

5 years ago

3.1.3

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

3.0.0-17

5 years ago

3.0.0-16

5 years ago

3.0.0-15

5 years ago

3.0.0-14

5 years ago

3.0.0-13

5 years ago

3.0.0-12

5 years ago

3.0.0-11

5 years ago

3.0.0-10

5 years ago

3.0.0-9

5 years ago

3.0.0-8

5 years ago

3.0.0-6

5 years ago

3.0.0-5

5 years ago

3.0.0-2

5 years ago

3.0.0-1

5 years ago