element-plus
Version:
A Component Library for Vue3.0
29 lines (28 loc) • 868 B
TypeScript
import { ComputedRef } from 'vue';
import { AnyFunction } from '../../el-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;
}