mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
30 lines
778 B
TypeScript
30 lines
778 B
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
|
|
}
|