| 1 |
--- |
| 2 |
id: Banner |
| 3 |
section: components |
| 4 |
--- |
| 5 |
import { Fragment } from 'react'; |
| 6 |
import { css } from '@patternfly/react-styles'; |
| 7 |
import display from '@patternfly/react-styles/css/utilities/Display/display'; |
| 8 |
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper'; |
| 9 |
|
| 10 |
## Demos |
| 11 |
|
| 12 |
### Basic sticky banner |
| 13 |
|
| 14 |
```ts file="examples/Banner/BannerBasicSticky.tsx" isFullscreen |
| 15 |
``` |
| 16 |
|
| 17 |
### Top and bottom banner |
| 18 |
|
| 19 |
```ts file="examples/Banner/BannerTopBottom.tsx" isFullscreen |
| 20 |
|
| 21 |
``` |