ethan-ui
v2.0.1
Published
<p align="center"><img width="160px" src="https://chenmingzhen.github.io/ethan-ui-library/images/ui.png"/></p>
Downloads
51
Maintainers
Readme
💻 支持环境
- React >= 17
- 除 IE 外的浏览器
🚀 CDN
<link rel="stylesheet" href="https://unpkg.com/ethan-ui/dist/theme.default.css" />
<script src="https://unpkg.com/ethan-ui/dist/Ethan.min.js"></script>
📦 安装
npm install ethan-ui
or
yarn add ethan-ui
🔨 使用
import { Button } from 'ethan-ui'
const App = () => <Button type="primary">PRESS ME</Button>
引入其中一个样式文件
import 'ethan-ui/dist/theme.default.css'
import 'ethan-ui/dist/theme.ethan.css'
import 'ethan-ui/dist/theme.antd.css'
📋 文档
https://chenmingzhen.github.io/ethan-ui-library
⌨️ 本地调试运行
npm install
npm run start
or
yarn install
yarn start