Debian Codegraph @

node/@patternfly/react-core/src/components/Hint/HintFooter.tsx

raw
1 import styles from '@patternfly/react-styles/css/components/Hint/hint';
2 import { css } from '@patternfly/react-styles';
3
4 export interface HintFooterProps {
5 /** Content rendered inside the hint footer. */
6 children?: React.ReactNode;
7 /** Additional classes applied to the hint footer. */
8 className?: string;
9 }
10
11 export const HintFooter: React.FunctionComponent<HintFooterProps> = ({
12 children,
13 className,
14 ...props
15 }: HintFooterProps) => (
16 <div className={css(styles.hintFooter, className)} {...props}>
17 {children}
18 </div>
19 );
20 HintFooter.displayName = 'HintFooter';