import { ArgsTable } from '@storybook/addon-docs/blocks';
import { Toast } from '../Toast';

# Toast (Snackbar)

Snackbars inform user of a process that an app has performed or will perform. They appear temporarily,
towards the bottom left corner of the screen. They shouldn’t interrupt the user experience, and they don’t require user input to disappear.
You can use them to display notifications.

# ToastsPortal

Typically, notifications should be rendered somewhere globally. For this reason,
application should have a root container where all them are stacked,
`<ToastsPortal />` component creates a reference wrap for all toasts from your app.

## Props

<ArgsTable of={Toast} />
