EASYAIuniappNewUI/node_modules/@tuniao/tnui-vue3-uniapp/components/circle-progress/src/circle-progress.ts
2025-02-08 18:50:38 +08:00

25 lines
598 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { buildProps } from '../../../utils'
import { propgressBaseProps } from '../../base/common-props/progress'
import type { ExtractPropTypes } from 'vue'
export const circleProgressProps = buildProps({
...propgressBaseProps,
/**
* @description 圆环的半径,单位 px只支持传递固定的值
*/
radius: {
type: Number,
default: 50,
},
/**
* @description 圆环的宽度,单位 px只支持传递固定的值
*/
ringWidth: {
type: Number,
default: 7,
},
})
export type CircleProgressProps = ExtractPropTypes<typeof circleProgressProps>