You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
size | String | medium | options: small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
15
18
step | Number | 1 | \- | N
16
-
theme | String | normal | stylish。options:normal/grey | N
19
+
theme | String | normal | stylish。options: normal/filled/outline | N
17
20
value | String / Number | 0 | \- | N
18
21
default-value | String / Number | undefined | uncontrolled property | N
Copy file name to clipboardExpand all lines: src/stepper/README.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,17 +52,21 @@ isComponent: true
52
52
53
53
54
54
## API
55
+
55
56
### Stepper Props
56
57
57
-
名称 | 类型 | 默认值 | 说明 | 必传
58
+
名称 | 类型 | 默认值 | 描述 | 必传
58
59
-- | -- | -- | -- | --
60
+
style | Object | - | 样式 | N
61
+
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
59
62
disable-input | Boolean | false | 禁用输入框 | N
60
-
disabled | Boolean | false | 禁用全部操作 | N
63
+
disabled | Boolean | undefined | 禁用全部操作 | N
61
64
input-width | Number | - | 输入框宽度,默认单位 `px` | N
65
+
integer | Boolean | true | 是否整型 | N
62
66
max | Number | 100 | 最大值 | N
63
67
min | Number | 0 | 最小值 | N
68
+
size | String | medium | 组件尺寸。可选项:small/medium/large。TS 类型:`SizeEnum`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N
64
69
step | Number | 1 | 步长 | N
65
-
size | String | medium | 组件尺寸。可选项:small/medium/large。TS 类型:`SizeEnum` | N
66
70
theme | String | normal | 组件风格。可选项:normal/filled/outline | N
67
71
value | String / Number | 0 | 值 | N
68
72
default-value | String / Number | undefined | 值。非受控属性 | N
0 commit comments