File: PopoverHeader.d.ts

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (19 lines) | stat: -rw-r--r-- 972 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// <reference types="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?: 'custom' | '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