UNPKG

@patternfly/react-core

Version:

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

19 lines 973 B
import * as React from 'react'; export interface PopoverHeaderProps extends Omit<React.HTMLProps<HTMLHeadingElement>, 'size'> { /** Content of the popover header. */ children: React.ReactNode; /** Indicates the header contains an icon. */ icon?: React.ReactNode; /** Class to be applied to the header. */ className?: string; /** Heading level of the header title */ titleHeadingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** Severity variants for an alert popover. This modifies the color of the header to match the severity. */ alertSeverityVariant?: 'default' | 'info' | 'warning' | 'success' | 'danger'; /** Id of the header */ id?: string; /** Text announced by screen reader when alert severity variant is set to indicate severity level */ alertSeverityScreenReaderText?: string; } export declare const PopoverHeader: React.FunctionComponent<PopoverHeaderProps>; //# sourceMappingURL=PopoverHeader.d.ts.map