Debian Codegraph @

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

raw
1 import progressStyle from '@patternfly/react-styles/css/components/Progress/progress';
2
3 export interface ProgressHelperTextProps extends React.HTMLProps<HTMLDivElement> {
4 /** Content which can be used to convey additional information about the progress component.
5 * We recommend the helper text component as it was designed for this purpose.
6 */
7 children?: React.ReactNode;
8 }
9
10 export const ProgressHelperText: React.FunctionComponent<ProgressHelperTextProps> = ({
11 children,
12 ...props
13 }: ProgressHelperTextProps) => (
14 <div className={progressStyle.progressHelperText} {...props}>
15 {children}
16 </div>
17 );
18
19 ProgressHelperText.displayName = 'ProgressHelperText';