Debian Codegraph @

node/@patternfly/react-core/src/demos/BackToTop.md

raw
1 ---
2 id: Back to top
3 section: components
4 ---
5 import { useState } from 'react';
6 import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
7
8 ## Demos
9
10 ### Using name selector
11
12 Note that `tabIndex={0}` is added to the scrolling `PageSection` of the page to allow keyboard users the ability to focus and scroll.
13
14 ```ts file="examples/BackToTop/BackToTopNameDemo.tsx" isFullscreen
15 ```