t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
80 lines (79 loc) • 2.7 kB
TypeScript
import type { RendererNode, RendererElement, ComputedOptions, MethodOptions, PropType, ExtractPropTypes, VNode, Component } from 'vue';
import type { AlertType, AlertOverflowType, AlertCloseEndInterface } from './interface';
export declare const Props: {
readonly type: {
readonly type: PropType<AlertType>;
readonly default: () => AlertType;
readonly validator: (val: AlertType) => boolean;
};
readonly fontSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly titleSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly bold: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly center: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly close: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly simple: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly title: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly titleColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fixed: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly overflow: {
readonly type: PropType<AlertOverflowType>;
readonly default: () => AlertOverflowType;
readonly validator: (val: AlertOverflowType) => boolean;
};
readonly closeIcon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly beforeIcon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly closeEnd: {
readonly type: PropType<AlertCloseEndInterface>;
readonly default: () => null;
};
};
export declare type AlertPropsType = ExtractPropTypes<typeof Props>;