@sunwu51/camel-ui 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,30 +1,36 @@
1
- # camel-ui
2
- <img src="logo.png" alt="Description" width="80" height="80">
3
-
4
- # 样式预览
5
- ![image](https://i.imgur.com/NqTbIwS.png)
6
-
7
-
8
- # 使用方法
9
- 安装
10
- ```bash
11
- $ npm i @sunwu51/camel-ui
12
- ```
13
- 参考`App.tsx`中每个组件的使用方法,基本都非常简单,每个组件1-3行代码。
14
- # 组件列表
15
- - badge
16
- - button
17
- - card
18
- - checkbox
19
- - combobox
20
- - details
21
- - dialog
22
- - input
23
- - input file
24
- - radio
25
- - select
26
- - switch
27
- - table
28
- - tabs
29
- - textarea
30
- - tooltip
1
+ # camel-ui
2
+ <img src="logo.png" alt="Description" width="80" height="80">
3
+
4
+ # 样式预览
5
+ 浅色(默认,也可通过 `<html data-theme="light">` 强制):
6
+
7
+ ![light](https://raw.githubusercontent.com/sunwu51/camel-ui/main/docs/preview-light.png)
8
+
9
+ 深色(跟随系统,或 `<html data-theme="dark">`):
10
+
11
+ ![dark](https://raw.githubusercontent.com/sunwu51/camel-ui/main/docs/preview-dark.png)
12
+
13
+
14
+ # 使用方法
15
+ 安装
16
+ ```bash
17
+ $ npm i @sunwu51/camel-ui
18
+ ```
19
+ 参考`App.tsx`中每个组件的使用方法,基本都非常简单,每个组件1-3行代码。
20
+ # 组件列表
21
+ - badge
22
+ - button
23
+ - card
24
+ - checkbox
25
+ - combobox
26
+ - details
27
+ - dialog
28
+ - input
29
+ - input file
30
+ - radio
31
+ - select
32
+ - switch
33
+ - table
34
+ - tabs
35
+ - textarea
36
+ - tooltip