UNPKG

@ark-ui/vue

Version:

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

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