stepper,stepperItem

Signed-off-by: wangwencong <wangwencong1@huawei.com>
This commit is contained in:
wangwencong
2021-10-21 18:24:04 -07:00
parent ccf2a87318
commit 6e086427f7
+12
View File
@@ -152,6 +152,18 @@ export const COMPONENT_MAP: any = {
'loop', 'duration', 'vertical', 'itemSpace', 'displayMode', 'onChange'
]
},
Stepper: {
children: ['StepperItem'],
attrs: [
'onFinish', 'onSkip', 'onChange', 'onNext', 'onPrevious'
]
},
StepperItem: {
parents: ['Stepper'],
single: true,
attrs: ['prevLabel', 'nextLabel', 'status']
},
Rating: {
attrs: ['stars', 'stepSize', 'starStyle', 'onChange']
},