UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

36 lines (35 loc) 1.44 kB
import { VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import * as toast from '@zag-js/toast'; interface ToastItemProps { value: toast.Options<VNodeChild>; index: number; parent: toast.GroupService; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: { title?: VNodeChild; description?: VNodeChild; duration?: number | undefined; removeDelay?: number | undefined; id?: string | undefined; type?: toast.Type | undefined; onStatusChange?: ((details: toast.StatusChangeDetails) => void) | undefined; action?: toast.ActionOptions | undefined; closable?: boolean | undefined; meta?: Record<string, any> | undefined; }): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: DefineComponent<ToastItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };