compote-ui
Version:
An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.
12 lines (11 loc) • 478 B
TypeScript
import { Toaster } from '@ark-ui/svelte/toast';
import type { CreateToasterReturn } from '@ark-ui/svelte/toast';
import type { ClassValue } from 'tailwind-variants';
interface Props {
class?: ClassValue;
/** Custom toaster instance from `createToaster()`. Defaults to the shared `toast` instance. */
toaster?: CreateToasterReturn;
}
declare const Toaster: import("svelte").Component<Props, {}, "">;
type Toaster = ReturnType<typeof Toaster>;
export default Toaster;