2024-11-05 10:07:15 +08:00

29 lines
674 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 { useFormSizeProps } from '../../composables/use-component-common-props'
export const radioBaseProps = buildProps({
/**
* @description radio单选框尺寸
*/
size: useFormSizeProps,
/**
* @description radio单选框是否禁用
*/
disabled: Boolean,
/**
* @description radio禁止点击标签进行选择
*/
labelDisabled: Boolean,
/**
* @description 是否显示边框
*/
border: Boolean,
/**
* @description radio激活时的颜色以tn开头则使用图鸟内置的颜色只支持普通颜色
*/
activeColor: {
type: String,
default: '',
},
} as const)