Debian Codegraph @

node/@patternfly/react-core/src/components/Progress/examples/ProgressTitleOutsideOfProgressBar.tsx

raw
1 import {
2 DescriptionList,
3 DescriptionListGroup,
4 DescriptionListTerm,
5 DescriptionListDescription,
6 Progress,
7 ProgressMeasureLocation
8 } from '@patternfly/react-core';
9
10 export const ProgressTitleOutsideOfProgressBar: React.FunctionComponent = () => (
11 <DescriptionList aria-label="Progress Title outside of progress bar">
12 <DescriptionListGroup>
13 <DescriptionListTerm id="title-outside-progress-example-label">Title outside of progress bar</DescriptionListTerm>
14 <DescriptionListDescription>
15 <Progress
16 value={33}
17 measureLocation={ProgressMeasureLocation.outside}
18 aria-labelledby="title-outside-progress-example-label"
19 />
20 </DescriptionListDescription>
21 </DescriptionListGroup>
22 </DescriptionList>
23 );