This component is deprecated. Please use @atlaskit/flag
Purpose
Toasts are used to show confirmations of user action.
Dos
Keep messaging clear and short
Don’ts
Show more than one toast at a time
Use for warning or error alerts (instead, use NotificationBar)
Variants
Toasts should behave and appear consistently within a platform and also respect the unique context and needs of each platform. Each platform has its own Toast variant as a result.
chrome-extension toasts will come down from the top of the screen to keep it near the recorder itself.
web-app toasts come up from the bottom center of the screen, which interferes with other web-app features the least and a standard industry practice.
Usage
import {Toast} from '@loomhq/lens'
<Toast>Content</Toast>
<Text>You successfully changed Mira Baptista’s role from Viewer to Creator. Please review the email we sent you ok thx bye this is really long wow so long!</Text>