Prop | Default | Type |
---|---|---|
duration | number Time in milliseconds that each toast should remain visible for. | |
label | string An author-localized label for each toast. Used to help screen reader users associate the interruption with a toast. | |
swipeDirection | MaybeRef<SwipeDirection> Direction of pointer swipe that should close the toast. | |
swipeThreshold | MaybeRefOrGetter<number> Distance in pixels that the swipe must pass before a close is triggered. |