vue-admin-core
Version:
A Component Library for Vue 3
18 lines (17 loc) • 573 B
TypeScript
import { SlotTypes } from "../../__builtins__/shared";
import { ElRadio, RadioProps } from "element-plus";
export type ElRadioProps = typeof ElRadio;
export type RadioGroupProps = RadioProps & {
value: any;
options?: ((Omit<ElRadioProps, "value"> & {
value: ElRadioProps["label"];
label: SlotTypes;
}) | string)[];
optionType: "defalt" | "button";
};
declare const RadioGroupOption: any;
declare const RadioGroup: typeof RadioGroupOption;
export declare const Radio: typeof ElRadio & {
Group: typeof RadioGroup;
};
export default Radio;