Skip to main content

Toast

v.5.0.0

Installation​

yarn add @mercell/toast-react

Usage​

Using the Toast component is as simple as importing it like this.

import { Toast } from '@mercell/toast-react';
Live Editor
Result

Types, definitions, etc.​

ToastProps
interface ToastProps {
isInteractive: boolean;
} & JSX.IntrinsicElements['div']
NameTypeDefaultRequiredDescription
isInteractiveboolean-noSetting accessibility role for toast - 'alert' if true, 'status' if false