File tree Expand file tree Collapse file tree 3 files changed +3637
-3532
lines changed Expand file tree Collapse file tree 3 files changed +3637
-3532
lines changed Original file line number Diff line number Diff line change
1
+ <h1 align =" center " >rc-ui-lib</h1 >
2
+
3
+ <p align =" center " >参照 <a href =" https://github.com/youzan/vant " >Vant</a > 打造的 React 框架移动端组件库。</p >
4
+ <p align =" center " >
5
+ <img src =" https://img.shields.io/github/actions/workflow/status/rancui/rc-ui-lib/test.yml?branch=main " alt =" CI Status " />
6
+ <img alt =" Codecov " src =" https://img.shields.io/codecov/c/github/rancui/rc-ui-lib?color=%236CC73F&logo=%236CC73F&logoColor=%236CC73F&style=flat-square " >
7
+ <img src =" https://img.badgesize.io/https://unpkg.com/rc-ui-lib/lib/rc-ui-lib.min.js?compression=gzip&style=flat-square&label=gzip%20size&color=#4fc08d " alt =" Gzip Size " />
8
+ </p >
9
+
10
+ <p align =" center " >
11
+ 🌈 <a href =" https://rancui.github.io/rc-ui-lib/ " >文档网站(GitHub)</a >
12
+ </p >
13
+
14
+ ## 特性
15
+
16
+ - 50+ 个高质量组件,覆盖移动端各类场景
17
+ - 性能极佳,组件平均体积不到 1kb(min+gzip)
18
+ - 单元测试覆盖率超过 95%,提供稳定性保障
19
+ - 完善的文档和示例
20
+ - 支持按需引入
21
+ - 支持主题定制
22
+ - 支持 TypeScript
23
+
24
+ ## 安装
25
+
26
+ [ ![ rc-ui-lib] ( https://nodei.co/npm/rc-ui-lib.png )] ( https://npmjs.org/package/rc-ui-lib )
27
+
28
+ ## 快速开始
29
+
30
+ ``` jsx
31
+ import ReactDOM from ' react-dom' ;
32
+ import { Button } from ' rc-ui-lib' ;
33
+
34
+ function App () {
35
+ return < Button> Default Button< / Button> ;
36
+ }
37
+
38
+ ReactDOM .render (< App / > , mountNode);
39
+ ```
40
+
41
+ ## 浏览器支持
42
+
43
+ rc-ui-lib 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0。
44
+
45
+ ## 贡献代码
46
+
47
+ 修改代码请阅读我们的 [ 贡献指南] ( https://rancui.github.io/rc-ui-lib/#/zh-CN/contribution ) 。
48
+
49
+ 使用过程中发现任何问题都可以提 [ Issue] ( https://github.com/rancui/rc-ui-lib/issues ) 给我们,当然,我们也非常欢迎你给我们发 [ PR] ( https://github.com/rancui/rc-ui-lib/pulls ) 。
50
+
51
+ ## 感谢
52
+
53
+ [ Vant] ( https://github.com/youzan/vant ) - 感谢有赞团队对 vant 的辛苦维护,才让我们有了种种可能。
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rc-ui-lib" ,
3
- "version" : " 2.0.4 " ,
3
+ "version" : " 2.0.3 " ,
4
4
"description" : " React Mobile UI Components Library base on Vant" ,
5
5
"main" : " lib/index.js" ,
6
6
"module" : " es/index.js" ,
You can’t perform that action at this time.
0 commit comments