| 1 |
--- |
| 2 |
id: Alert |
| 3 |
section: components |
| 4 |
--- |
| 5 |
|
| 6 |
import { useEffect, useState } from 'react'; |
| 7 |
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon'; |
| 8 |
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon'; |
| 9 |
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper'; |
| 10 |
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader'; |
| 11 |
|
| 12 |
## Demos |
| 13 |
|
| 14 |
This demonstrates how you can assemble a full page view including the use of alert group toast notifications with timeout that are also displayed inside the notification drawer. |
| 15 |
|
| 16 |
### Alert group toast with notification drawer |
| 17 |
|
| 18 |
```ts file="examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx" isFullscreen |
| 19 |
|
| 20 |
``` |