comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
26 lines (24 loc) • 926 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ComicSize } from '../../../utils';
export declare const checkboxProps: {
readonly modelValue: {
readonly type: PropType<boolean | string | number>;
readonly default: false;
};
readonly value: PropType<string | number>;
readonly falseValue: PropType<string | number>;
readonly label: StringConstructor;
readonly indeterminate: {
readonly type: BooleanConstructor;
readonly default: () => any;
};
readonly disabled: BooleanConstructor;
readonly color: StringConstructor;
readonly size: PropType<ComicSize>;
};
export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
export declare const checkboxEmits: {
"update:modelValue": (evt: boolean | string | number) => boolean;
change: (evt: boolean | string | number) => boolean;
};
export type CheckboxEmits = typeof checkboxEmits;