@tplc/wot
Version:
41 lines (40 loc) • 862 B
TypeScript
import type { PropType } from 'vue'
export type RadioShape = 'dot' | 'button' | 'check'
export declare const radioProps: {
/** 选中时的值 */
value: {
type: (NumberConstructor | StringConstructor | BooleanConstructor)[]
required: true
}
/** 单选框的形状 */
shape: PropType<RadioShape>
/** 选中的颜色 */
checkedColor: StringConstructor
/** 禁用 */
disabled: {
type: PropType<boolean | null>
default: null
}
/** 单元格 */
cell: {
type: PropType<boolean | null>
default: null
}
/** 大小 */
size: StringConstructor
/** 内联 */
inline: {
type: PropType<boolean | null>
default: null
}
/** 最大宽度 */
maxWidth: StringConstructor
customStyle: {
type: PropType<string>
default: string
}
customClass: {
type: PropType<string>
default: string
}
}