element-plus
Version:
A Component Library for Vue3.0
30 lines (28 loc) • 778 B
text/typescript
import { ComputedRef } from 'vue'
import { AnyFunction } from '@element-plus/utils/types'
export interface ICheckboxGroupInstance {
name?: string
modelValue?: ComputedRef
disabled?: ComputedRef<boolean>
min?: ComputedRef<string | number>
max?: ComputedRef<string | number>
size?: ComputedRef<string>
fill?: ComputedRef<string>
textColor?: ComputedRef<string>
checkboxGroupSize?: ComputedRef<string>
changeEvent?: AnyFunction<any>
}
export interface ICheckboxProps {
modelValue: string | boolean | number
label?: string | boolean | number
indeterminate?: boolean
disabled?: boolean
checked?: boolean
name?: string
trueLabel?: string | number
falseLabel?: string | number
id?: string
controls?: string
border?: boolean
size?: string
}