import * as React from 'react'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/react-styles/css/components/Popover/popover'; export interface PopoverHeaderTextProps extends React.HTMLProps { /** Content of the header text */ children: React.ReactNode; /** Class to be applied to the header text */ className?: string; /** Heading level of the header title */ headingLevel: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; } export const PopoverHeaderText: React.FunctionComponent = ({ children, className, headingLevel, ...props }: PopoverHeaderTextProps) => { const HeadingLevel = headingLevel; return ( {children} ); }; PopoverHeaderText.displayName = 'PopoverHeaderText';