cd-design-mobile
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

CD Design Mobile

一套基于 React 和 Typescript 的 UI 组件库。

NPM version NPM downloads

特性

  • 📦 开箱即用的 React 移动端 UI 组件。
  • 🛡 使用 TypeScript 开发,提供完整的类型定义文件。

🖥 兼容环境

  • 现代浏览器。
IE / Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge last 2 versions last 2 versions last 2 versions

📦 安装

npm install cd-design-mobile --save
yarn add cd-design-mobile

🔨 示例

import { Button, Rate } from 'cd-design-mobile'

const App = () => (
  <>
    <Button type="primary">按一下试试</Button>
    <Rate disabled />
  </>
)

引入样式:

import 'cd-design-mobile/css'

🔗 链接

⌨️ 本地开发

克隆到本地开发:

$ git clone https://github.com/YutLee/cd-design-mobile.git
$ cd cd-design-mobile
$ yarn
$ yarn start

打开浏览器访问 http://127.0.0.1:3000

Package Sidebar

Install

npm i cd-design-mobile

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

657 kB

Total Files

71

Last publish

Collaborators

  • yutlee