OptionalifRef?: React.MutableRefObject<HTMLDivElement | null>Optionallocation?: CompassLocationThe side of the screen on which to display the <Toast>.
OptionalonClose?: () => voidCallback function called when the user closes the <Toast>.
OptionalonMouseEnter?: () => voidCallback function called when the mouse enters the <Toast>.
OptionalonMouseLeave?: () => voidCallback function called when the mouse leaves the <Toast>.
Optionalsize?: ToastSizeThe size of the <Toast>.
Optionalvariant?: ToastVariantDefault styling for the <Toast>.
OptionalwrapperClassName?: stringCSS class name to pass to the wrapper element.
OptionalzIndex?: numberOverride for CSS z-index value.
Ref prop to be provided by the
<Toast.If>component if used.