Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.4.78/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.