UNPKG

@coreui/vue

Version:

UI Components Library for Vue.js

69 lines (68 loc) 2.14 kB
export declare const CAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * Sets the color context of the component to one of CoreUI’s themed colors. * * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light' */ color: { type: StringConstructor; validator: (value: string) => boolean; }; /** * Optionally add a close button to alert and allow it to self dismisss. */ dismissible: BooleanConstructor; /** * Set the alert variant to a solid. * * @values 'solid' */ variant: { type: StringConstructor; validator: (value: string) => value is "solid"; }; /** * Toggle the visibility of alert component. */ visible: { type: BooleanConstructor; default: boolean; }; }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Sets the color context of the component to one of CoreUI’s themed colors. * * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light' */ color: { type: StringConstructor; validator: (value: string) => boolean; }; /** * Optionally add a close button to alert and allow it to self dismisss. */ dismissible: BooleanConstructor; /** * Set the alert variant to a solid. * * @values 'solid' */ variant: { type: StringConstructor; validator: (value: string) => value is "solid"; }; /** * Toggle the visibility of alert component. */ visible: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; }>, { visible: boolean; dismissible: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;