UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

48 lines (47 loc) 1.29 kB
import type { ExtractPropTypes } from 'vue'; import type { Alert } from '@/types'; export declare const VvAlertGroupProps: { name: { type: StringConstructor; required: boolean; }; items: { type: PropType<Alert[]>; default: () => never[]; }; stack: { type: BooleanConstructor; default: boolean; }; reverse: { type: BooleanConstructor; default: boolean; }; inline: { type: PropType<"start" | "middle" | "end">; default: undefined; }; block: { type: PropType<"top" | "center" | "bottom">; default: undefined; }; position: { type: PropType<"absolute" | "fixed">; default: undefined; }; transition: { type: StringConstructor; default: undefined; }; modifiers: { type: PropType<string | string[]>; default: undefined; }; }; export declare const VvAlertGroupEvents: string[]; export declare function useVvAlertGroup(props: Readonly<ExtractPropTypes<typeof VvAlertGroupProps>>, emit: (event: string, ...args: unknown[]) => void): { hasTransition: globalThis.ComputedRef<string>; hasProps: globalThis.ComputedRef<{ class: (string | Record<string, boolean>)[]; }>; };