nutui-taro-upgrade
Version:
@nutui/nutui-taro 对京东风格组件库的taro4 版本支持
76 lines (75 loc) • 2.21 kB
TypeScript
import type { PropType } from 'vue';
import { CheckboxTextPosition, CheckboxShape } from './types';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
textPosition: {
type: PropType<CheckboxTextPosition>;
default: string;
};
iconSize: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
label: {
type: StringConstructor;
default: string;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
shape: {
type: PropType<CheckboxShape>;
default: string;
};
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
modelValue: {
type: BooleanConstructor;
default: boolean;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
textPosition: {
type: PropType<CheckboxTextPosition>;
default: string;
};
iconSize: {
type: (NumberConstructor | StringConstructor)[];
default: string;
};
label: {
type: StringConstructor;
default: string;
};
indeterminate: {
type: BooleanConstructor;
default: boolean;
};
shape: {
type: PropType<CheckboxShape>;
default: string;
};
}>> & Readonly<{
onChange?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
shape: CheckboxShape;
disabled: boolean;
label: string;
modelValue: boolean;
textPosition: CheckboxTextPosition;
iconSize: string | number;
indeterminate: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;