tdesign-mobile-vue
Version:
tdesign-mobile-vue
105 lines (104 loc) • 3.22 kB
TypeScript
import { RadioOption, RadioValue } from '../radio/type';
import { KeysType } from '../common';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
allowUncheck: BooleanConstructor;
borderless: BooleanConstructor;
disabled: {
type: BooleanConstructor;
default: any;
};
icon: {
type: import("vue").PropType<"circle" | "dot" | "line" | ((h: typeof import("vue").h) => import("@/index-lib").SlotReturnValue)[]>;
default: string;
};
keys: {
type: import("vue").PropType<KeysType>;
};
name: {
type: StringConstructor;
default: string;
};
options: {
type: import("vue").PropType<RadioOption[]>;
};
placement: {
type: import("vue").PropType<"left" | "right">;
default: "left" | "right";
validator(val: "left" | "right"): boolean;
};
readonly: {
type: BooleanConstructor;
default: any;
};
value: {
type: import("vue").PropType<RadioValue>;
default: any;
};
modelValue: {
type: import("vue").PropType<RadioValue>;
default: any;
};
defaultValue: {
type: import("vue").PropType<RadioValue>;
};
onChange: import("vue").PropType<(value: RadioValue, context: {
e: Event;
name?: string;
}) => void>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
allowUncheck: BooleanConstructor;
borderless: BooleanConstructor;
disabled: {
type: BooleanConstructor;
default: any;
};
icon: {
type: import("vue").PropType<"circle" | "dot" | "line" | ((h: typeof import("vue").h) => import("@/index-lib").SlotReturnValue)[]>;
default: string;
};
keys: {
type: import("vue").PropType<KeysType>;
};
name: {
type: StringConstructor;
default: string;
};
options: {
type: import("vue").PropType<RadioOption[]>;
};
placement: {
type: import("vue").PropType<"left" | "right">;
default: "left" | "right";
validator(val: "left" | "right"): boolean;
};
readonly: {
type: BooleanConstructor;
default: any;
};
value: {
type: import("vue").PropType<RadioValue>;
default: any;
};
modelValue: {
type: import("vue").PropType<RadioValue>;
default: any;
};
defaultValue: {
type: import("vue").PropType<RadioValue>;
};
onChange: import("vue").PropType<(value: RadioValue, context: {
e: Event;
name?: string;
}) => void>;
}>> & Readonly<{}>, {
allowUncheck: boolean;
borderless: boolean;
disabled: boolean;
icon: "circle" | "dot" | "line" | ((h: typeof import("vue").h) => import("@/index-lib").SlotReturnValue)[];
name: string;
placement: "left" | "right";
readonly: boolean;
value: RadioValue;
modelValue: RadioValue;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;