UNPKG

@inkline/inkline

Version:

Inkline is the Vue.js UI/UX Library built for creating your next design system

83 lines (82 loc) 2.08 kB
import { sizePropValidator } from '../../mixins'; import { Classes } from '../../types'; declare const _default: import("vue").DefineComponent<{ /** * The size variant of the alert * @type sm | md | lg * @default md * @name size */ size: { type: StringConstructor; default: () => string; validator: typeof sizePropValidator; }; /** * The color variant of the alert * @type info | success | warning | danger * @default info * @name color */ color: { type: StringConstructor; default: () => string; }; /** * Used to show or hide a dismissible alert * @type Boolean * @default true * @name modelValue */ modelValue: { type: BooleanConstructor; default: boolean; }; /** * Shows a dismiss icon on the alert * @type Boolean * @default false * @name dismissible */ dismissible: { type: BooleanConstructor; default: boolean; }; /** * The aria-label to use for the dismiss button * @type String * @default Dismiss * @name dismissAriaLabel */ dismissAriaLabel: { type: StringConstructor; default: string; }; }, unknown, { dismissed: boolean; }, { classes(): Classes; }, { dismiss(): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ size?: unknown; color?: unknown; modelValue?: unknown; dismissible?: unknown; dismissAriaLabel?: unknown; } & { color: string; size: string; modelValue: boolean; dismissible: boolean; dismissAriaLabel: string; } & {}> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }, { color: string; size: string; modelValue: boolean; dismissible: boolean; dismissAriaLabel: string; }>; export default _default;