package.dist.components.toast.create-toaster.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react Show documentation
Show all versions of react Show documentation
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
The newest version!
import { PropTypes } from '@zag-js/react';
import { ReactNode } from 'react';
import { Optional } from '../../types';
import * as toast from '@zag-js/toast';
export interface CreateToasterProps extends Optional, 'id'> {
placement: toast.Placement;
}
export interface CreateToasterReturn extends toast.GroupApi {
machine: toast.GroupService;
}
export declare const createToaster: (props: CreateToasterProps) => CreateToasterReturn;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy