ant-design/ant-design-mobile-rn
Fork: 607 Star: 2965 (更新于 2024-05-24 18:14:07)
license: MIT
Language: TypeScript .
Ant Design for React Native
最后发布版本: 5.1.1 ( 2024-03-15 18:25:39)
English | 简体中文
Ant Design Mobile RN
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+ |
---|
![]() |
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
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! :)
最近版本更新:(数据更新于 2024-05-10 08:13:14)
2024-03-15 18:25:39 5.1.1
2024-02-23 19:36:42 5.1.0
2023-02-20 14:29:41 5.0.4
2023-02-20 14:29:17 5.0.3
2022-10-14 16:47:08 5.0.2
2022-08-17 15:34:16 5.0.1
2022-03-28 18:30:25 5.0.0
2021-06-16 11:03:25 4.2.0
2021-04-15 22:53:28 4.1.0
2020-04-30 16:25:01 4.0.0
主题(topics):
android, antd-mobile, ios, javascript, react, react-native, typescript
ant-design/ant-design-mobile-rn同语言 TypeScript最近更新仓库
2024-06-27 00:44:20 langfuse/langfuse
2024-06-25 21:34:23 ZuodaoTech/everyone-can-use-english
2024-06-25 02:22:22 typescript-eslint/typescript-eslint
2024-06-25 01:34:15 lobehub/lobe-chat
2024-06-21 17:44:25 janhq/jan
2024-06-18 00:48:54 danny-avila/LibreChat