init
This commit is contained in:
22
uni_modules/nutui-uni/components/step/step.ts
Normal file
22
uni_modules/nutui-uni/components/step/step.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import type { ExtractPropTypes } from 'vue'
|
||||
import { commonProps, isNumber } from '../_utils'
|
||||
|
||||
export const stepProps = {
|
||||
...commonProps,
|
||||
/**
|
||||
* @description 流程步骤的标题
|
||||
*/
|
||||
title: String,
|
||||
/**
|
||||
* @description 流程步骤的描述性文字(支持 html 结构)
|
||||
*/
|
||||
content: String,
|
||||
}
|
||||
|
||||
export type StepProps = ExtractPropTypes<typeof stepProps>
|
||||
|
||||
export const stepEmits = {
|
||||
clickStep: (val: number) => isNumber(val),
|
||||
}
|
||||
|
||||
export type StepEmits = typeof stepEmits
|
||||
Reference in New Issue
Block a user