35 lines
867 B
TypeScript
Raw Permalink Normal View History

2024-11-05 10:14:41 +08:00
import { buildProps } from '../../../../utils'
import type { ExtractPropTypes } from 'vue'
export const propgressBaseProps = buildProps({
/**
* @description
*/
percent: {
type: Number,
default: 0,
},
/**
* @description tn开头则使用图鸟内置的颜色使
*/
activeColor: String,
/**
* @description tn开头则使用图鸟内置的颜色使
*/
inactiveColor: String,
/**
* @description
*/
showPercent: Boolean,
/**
* @description ms
*/
duration: {
type: Number,
default: 1500,
},
} as const)
export type ProgressBaseProps = ExtractPropTypes<typeof propgressBaseProps>