Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@radix-ui/react-toast.ts>ToastProviderProps

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface ToastProviderProps
import { type ToastProviderProps } from "https://deno.land/x/netzo@0.5.63/deps/@radix-ui/react-toast.ts";

Properties

optional
children: React.ReactNode
optional
label: string

An author-localized label for each toast. Used to help screen reader users associate the interruption with a toast.

optional
duration: number

Time in milliseconds that each toast should remain visible for.

optional
swipeDirection: SwipeDirection

Direction of pointer swipe that should close the toast.

optional
swipeThreshold: number

Distance in pixels that the swipe must pass before a close is triggered.