@qvant/qui-max
Version:
A Vue 3 Design system for Web.
50 lines (49 loc) • 1.86 kB
TypeScript
import type { QRadioGroupPropDirection, QRadioGroupInstance } from './src/types';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '../../../types/helpers';
export declare const QRadioGroup: SFCWithInstall<DefineComponent<{
modelValue: {
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
tag: {
type: StringConstructor;
default: string;
};
direction: {
type: PropType<QRadioGroupPropDirection>;
default: string;
validator: (value: QRadioGroupPropDirection) => boolean;
};
}, QRadioGroupInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
modelValue: {
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: null;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
tag: {
type: StringConstructor;
default: string;
};
direction: {
type: PropType<QRadioGroupPropDirection>;
default: string;
validator: (value: QRadioGroupPropDirection) => boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
modelValue: string | number | boolean;
tag: string;
direction: QRadioGroupPropDirection;
}>>;
export type { QRadioGroupProps, QRadioGroupProvider, QRadioGroupInstance } from './src/types';