| 1 |
/// <reference types="react" /> |
| 2 |
export interface PopoverHeaderProps extends Omit<React.HTMLProps<HTMLHeadingElement>, 'size'> { |
| 3 |
/** Content of the popover header. */ |
| 4 |
children: React.ReactNode; |
| 5 |
/** Indicates the header contains an icon. */ |
| 6 |
icon?: React.ReactNode; |
| 7 |
/** Class to be applied to the header. */ |
| 8 |
className?: string; |
| 9 |
/** Heading level of the header title */ |
| 10 |
titleHeadingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; |
| 11 |
/** Severity variants for an alert popover. This modifies the color of the header to match the severity. */ |
| 12 |
alertSeverityVariant?: 'custom' | 'info' | 'warning' | 'success' | 'danger'; |
| 13 |
/** Id of the header */ |
| 14 |
id?: string; |
| 15 |
/** Text announced by screen reader when alert severity variant is set to indicate severity level */ |
| 16 |
alertSeverityScreenReaderText?: string; |
| 17 |
} |
| 18 |
export declare const PopoverHeader: React.FunctionComponent<PopoverHeaderProps>; |
| 19 |
//# sourceMappingURL=PopoverHeader.d.ts.map |