ToastContainer
Typedefs
- props
Props for ToastContainer
A container for toast notifications.
This component must be a child, nested or otherwise, of a ToastContextProvider component.
Returns:
React.Element
— A React component that displays toast notification data.
Parameters
Name | Type | Description |
---|---|---|
props | React component props |
Props for ToastContainer
Properties
Name | Type | Description |
---|---|---|
classes | Object | An object containing the class names for the ToastContainer and its Toast components |
classes.root | String | CSS classes for the root container |
Source Code: pwa-studio/packages/venia-ui/lib/components/ToastContainer/toastContainer.js