All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.components.Popover.PopoverHeaderText.tsx Maven / Gradle / Ivy

Go to download

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

The newest version!
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';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy