@gm-mobile/c-service-time 3.12.12-beta.0 → 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.
- package/README.md +48 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# @gm-mobile/c-service-time
|
|
2
|
+
|
|
3
|
+
## 简介
|
|
4
|
+
服务时间选择组件包 - 提供服务时间选择器组件,用于选择服务日期和时间段。
|
|
5
|
+
|
|
6
|
+
## 安装
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @gm-mobile/c-service-time
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## 使用
|
|
13
|
+
|
|
14
|
+
### 快速开始
|
|
15
|
+
|
|
16
|
+
```jsx
|
|
17
|
+
import { ServiceTimePicker } from '@gm-mobile/c-service-time'
|
|
18
|
+
|
|
19
|
+
const App = () => {
|
|
20
|
+
return <ServiceTimePicker />
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## API
|
|
25
|
+
|
|
26
|
+
### 导出列表
|
|
27
|
+
|
|
28
|
+
| 导出项 | 类型 | 说明 |
|
|
29
|
+
|--------|------|------|
|
|
30
|
+
| `ServiceTimePicker` | 组件 | 服务时间选择器 |
|
|
31
|
+
|
|
32
|
+
## 示例
|
|
33
|
+
|
|
34
|
+
### 基础用法
|
|
35
|
+
|
|
36
|
+
```jsx
|
|
37
|
+
import { ServiceTimePicker } from '@gm-mobile/c-service-time'
|
|
38
|
+
|
|
39
|
+
const App = () => {
|
|
40
|
+
return <ServiceTimePicker />
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 注意事项
|
|
45
|
+
- 本包同时兼容 Web 端和小程序端
|
|
46
|
+
|
|
47
|
+
## 相关包
|
|
48
|
+
- [@gm-mobile/c-react](../c-react) - 基础 React 组件库
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gm-mobile/c-service-time",
|
|
3
|
-
"version": "3.12.
|
|
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",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"url": "https://github.com/gmfe/gm-mobile/issues"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gm-mobile/c-react": "^3.12.
|
|
25
|
-
"@gm-mobile/locales": "^3.12.
|
|
24
|
+
"@gm-mobile/c-react": "^3.12.13",
|
|
25
|
+
"@gm-mobile/locales": "^3.12.13",
|
|
26
26
|
"dayjs": "^1.11.6"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"lodash": "^4.17.15",
|
|
30
30
|
"moment": "^2.27.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "f1807b01b33bb8ee331b6c713d52d85fda524bf7"
|
|
33
33
|
}
|