UNPKG

@fesjs/fes-design

Version:
57 lines (56 loc) 2.29 kB
import { type PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../_util/interface'; export declare const alertProps: { readonly message: StringConstructor; readonly description: StringConstructor; readonly showIcon: BooleanConstructor; readonly closable: BooleanConstructor; readonly center: BooleanConstructor; readonly type: { readonly type: PropType<"info" | "success" | "error" | "warning">; readonly default: "info"; }; readonly beforeClose: { readonly type: FunctionConstructor; readonly default: () => boolean; }; }; export type AlertProps = ExtractPublicPropTypes<typeof alertProps>; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly message: StringConstructor; readonly description: StringConstructor; readonly showIcon: BooleanConstructor; readonly closable: BooleanConstructor; readonly center: BooleanConstructor; readonly type: { readonly type: PropType<"info" | "success" | "error" | "warning">; readonly default: "info"; }; readonly beforeClose: { readonly type: FunctionConstructor; readonly default: () => boolean; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly message: StringConstructor; readonly description: StringConstructor; readonly showIcon: BooleanConstructor; readonly closable: BooleanConstructor; readonly center: BooleanConstructor; readonly type: { readonly type: PropType<"info" | "success" | "error" | "warning">; readonly default: "info"; }; readonly beforeClose: { readonly type: FunctionConstructor; readonly default: () => boolean; }; }>> & Readonly<{ onClose?: (...args: any[]) => any; }>, { readonly type: "info" | "success" | "error" | "warning"; readonly beforeClose: Function; readonly showIcon: boolean; readonly closable: boolean; readonly center: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;