@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
22 lines (15 loc) • 488 B
Markdown
id: Banner
section: components
import { Fragment } from 'react';
import { css } from '@patternfly/react-styles';
import display from '@patternfly/react-styles/css/utilities/Display/display';
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
## Demos
### Basic sticky banner
```ts file="examples/Banner/BannerBasicSticky.tsx" isFullscreen
```
### Top and bottom banner
```ts file="examples/Banner/BannerTopBottom.tsx" isFullscreen
```