@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
7 lines (6 loc) • 347 B
TypeScript
import { PropTypes } from '@zag-js/vue';
import { ComputedRef } from 'vue';
import type * as toast from '@zag-js/toast';
export interface UseToastContext extends ComputedRef<toast.Api<PropTypes>> {
}
export declare const ToastProvider: (opts: UseToastContext) => void, useToastContext: (fallback?: UseToastContext | undefined) => UseToastContext;