@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
15 lines (10 loc) • 378 B
Markdown
id: Back to top
section: components
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
## Demos
### Using name selector
Note that `tabIndex={0}` is added to the scrolling `PageSection` of the page to allow keyboard users the ability to focus and scroll.
```js isFullscreen file="./examples/BackToTop/BackToTopNameDemo.tsx"
```