@qvant/qui-max
Version:
A Vue 3 Design system for Web.
58 lines (57 loc) • 2.01 kB
TypeScript
import type { QRadioPropLabel, QRadioPropValue, QRadioPropChecked, QRadioPropDisabled, QRadioPropLabelSize, QRadioInstance } from './src/types';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '../../../types/helpers';
export declare const QRadio: SFCWithInstall<DefineComponent<{
label: {
type: PropType<QRadioPropLabel>;
default: null;
};
value: {
type: PropType<QRadioPropValue>;
default: null;
};
checked: {
type: PropType<QRadioPropChecked>;
default: boolean;
};
disabled: {
type: PropType<QRadioPropDisabled>;
default: boolean;
};
labelSize: {
type: PropType<QRadioPropLabelSize>;
default: string;
validator: (value: QRadioPropLabelSize) => boolean;
};
}, QRadioInstance, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
label: {
type: PropType<QRadioPropLabel>;
default: null;
};
value: {
type: PropType<QRadioPropValue>;
default: null;
};
checked: {
type: PropType<QRadioPropChecked>;
default: boolean;
};
disabled: {
type: PropType<QRadioPropDisabled>;
default: boolean;
};
labelSize: {
type: PropType<QRadioPropLabelSize>;
default: string;
validator: (value: QRadioPropLabelSize) => boolean;
};
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
}, {
disabled: QRadioPropDisabled;
label: QRadioPropLabel;
labelSize: QRadioPropLabelSize;
value: QRadioPropValue;
checked: QRadioPropChecked;
}>>;
export type { QRadioProps, QRadioInstance, QRadioPropLabel, QRadioPropValue, QRadioPropChecked, QRadioPropDisabled, QRadioPropLabelSize } from './src/types';