The Wayback Machine - https://web.archive.org/web/20201017171729/https://github.com/didi/mand-mobile-rn
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jul 21, 2019
Jul 21, 2019
ios
Jul 21, 2019
May 28, 2020
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019

README.md

LOGO

mand-mobile-rn

�?��?�金�?场景的移动端UI组件库,基于React Native实现


链接

安装 & 使用

安装

在已有项目里手动安装 Mand Mobile RN 的包。

npm install mand-mobile-rn --save

�?�?

mand-mobile-rn 是基于最新的 React Native 0.59 版开�?�。

Link

使用 react-native link 将组件库添加到你的项目中:

react-native link mand-mobile-rn

手动集�?

iOS 集�?

Android 集�?

使用

import { MDButton } from 'mand-mobile-rn'

开�?�

git clone git@github.com:didi/mand-mobile-rn.git
cd mand-mobile-rn
npm install
yarn link
npm run tsc

新开一个命令行窗�?�,�?行 sample 的 RN Bundle �?务

cd mand-mobile-rn/sample
npm install
yarn link mand-mobile-rn
npm run start:ios

�?新开一个命令行窗�?�,编译 Mand Mobile 示例 App

cd mand-mobile-rn/sample
npm run ios

在模拟器中打开组件库示例 App: Mand Mobile,详细内容请查看开�?�指�?�。

自定义

Mand Mobile RN 组件库�??供了一套简�?的自定义主题方案,�?��?文档自定义

贡献

如有任何的�?�?或建议,欢迎您通过创建 Issue 或 Pull Request 的方�?告知我们,请先阅读贡献指�?�。

�?书

Mand Mobile RN 使用 Apache License 2.0,查看�?书。

You can’t perform that action at this time.