@gm-mobile/c-font 3.12.12-beta.1 → 3.12.13

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.
Files changed (2) hide show
  1. package/README.md +37 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -0,0 +1,37 @@
1
+ # @gm-mobile/c-font
2
+
3
+ ## 简介
4
+ 图标字体包 - 提供 gm-mobile 组件库使用的图标字体样式文件。
5
+
6
+ ## 安装
7
+
8
+ ```bash
9
+ npm install @gm-mobile/c-font
10
+ ```
11
+
12
+ ## 使用
13
+
14
+ ### 快速开始
15
+
16
+ 引入样式文件即可使用图标:
17
+
18
+ ```jsx
19
+ // 在入口文件引入
20
+ import '@gm-mobile/c-font'
21
+ ```
22
+
23
+ 使用图标:
24
+
25
+ ```jsx
26
+ <i className="m-font m-font-plus" />
27
+ <i className="m-font m-font-angle-left" />
28
+ <i className="m-font m-font-close" />
29
+ ```
30
+
31
+ ## 注意事项
32
+ - 本包仅提供样式文件,无需额外配置
33
+ - 图标类名格式为 `m-font m-font-{name}`
34
+ - 被 `@gm-mobile/c-react` 依赖,安装 `c-react` 后通常无需单独安装
35
+
36
+ ## 相关包
37
+ - [@gm-mobile/c-react](../c-react) - 基础 React 组件库(自动依赖本包)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gm-mobile/c-font",
3
- "version": "3.12.12-beta.1",
3
+ "version": "3.12.13",
4
4
  "description": "> TODO: description",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-mobile#readme",
@@ -20,5 +20,5 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/gmfe/gm-mobile/issues"
22
22
  },
23
- "gitHead": "8241f847ca2e7cfbbb67076d8d89f00e20c3977b"
23
+ "gitHead": "f1807b01b33bb8ee331b6c713d52d85fda524bf7"
24
24
  }