mealcomes
Version:
MealComes 用于学习前端的组件库
21 lines (20 loc) • 701 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
export declare const checkboxProps: {
readonly modelValue: {
readonly type: PropType<boolean | string | number>;
};
readonly indeterminate: BooleanConstructor;
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly label: {
readonly type: PropType<string>;
};
};
export type CheckboxProps = Partial<ExtractPropTypes<typeof checkboxProps>>;
export declare const checkboxEmits: {
'update:modelValue': (value: boolean | string | number) => value is boolean;
change: (value: boolean) => boolean;
};
export type CheckboxEmits = typeof checkboxEmits;