Debian Codegraph @

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

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