UNPKG

@ark-ui/vue

Version:

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

9 lines (8 loc) 419 B
import { VNodeChild } from 'vue'; import { Optional } from '../../types.js'; import * as toast from '@zag-js/toast'; export interface CreateToasterProps extends Optional<Partial<toast.StoreProps>, 'placement'> { placement: toast.Placement; } export type CreateToasterReturn<T = VNodeChild> = toast.Store<T>; export declare const createToaster: <T = VNodeChild>(props: CreateToasterProps) => CreateToasterReturn<T>;