31 lines
597 B
TypeScript
Raw Normal View History

2024-11-05 10:07:15 +08:00
import { buildProps } from '../../../utils'
import { stepsBaseProps } from '../../base/common-props/steps'
import type { ExtractPropTypes } from 'vue'
export const stepProps = buildProps({
...stepsBaseProps,
/**
* @description
*/
title: String,
/**
* @description
*/
icon: String,
/**
* @description
*/
activeIcon: String,
})
export const stepEmits = {
/**
* @description
*/
click: () => true,
}
export type StepProps = ExtractPropTypes<typeof stepProps>
export type StepEmits = typeof stepEmits