t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
29 lines (28 loc) • 941 B
TypeScript
import type { PropType, ExtractPropTypes } from 'vue';
import type { RadioLabelType, RadioChangeInterface } from '../../radio-group/src/interface';
export declare const Props: {
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly modelValue: {
readonly type: PropType<RadioLabelType>;
readonly default: () => string;
};
readonly name: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly label: {
readonly type: PropType<RadioLabelType>;
readonly default: () => string;
};
readonly change: {
readonly type: PropType<RadioChangeInterface>;
readonly default: () => null;
};
};
export declare const Emits: {
readonly 'update:modelValue': (val: RadioLabelType) => boolean;
};
export declare type RadioPropsType = ExtractPropTypes<typeof Props>;