UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

83 lines (62 loc) 1.25 kB
--- id: Progress section: components cssPrefix: pf-v6-c-progress propComponents: ['Progress'] --- import { useState } from 'react'; ## Examples ### Basic ```ts file="./ProgressBasic.tsx" ``` ### Small ```ts file="./ProgressSmall.tsx" ``` ### Large ```ts file="./ProgressLarge.tsx" ``` ### Outside ```ts file="./ProgressOutside.tsx" ``` ### Inside ```ts file="./ProgressInside.tsx" ``` ### Success ```ts file="./ProgressSuccess.tsx" ``` ### Failure ```ts file="./ProgressFailure.tsx" ``` ### Warning ```ts file="./ProgressWarning.tsx" ``` ### Inside success ```ts file="./ProgressInsideSuccess.tsx" ``` ### Outside failure ```ts file="./ProgressOutsideFailure.tsx" ``` ### Single line ```ts file="./ProgressSingleLine.tsx" ``` ### Without measure ```ts file="./ProgressWithoutMeasure.tsx" ``` ### Failure without measure ```ts file="./ProgressFailureWithoutMeasure.tsx" ``` ### Finite step ```ts file="./ProgressFiniteStep.tsx" ``` ### Progress with step instructions ```ts file="./ProgressStepInstruction.tsx" ``` ### Truncate title ```ts file="./ProgressTruncateTitle.tsx" ``` ### Title outside of progress bar ```ts file="./ProgressTitleOutsideOfProgressBar.tsx" ``` ### Helper text ```ts file="./ProgressHelperText.tsx" ```