File: ModalHeader.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (25 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// <reference types="react" />
/** Renders content in the header of the modal */
export interface ModalHeaderProps {
    /** Custom content rendered inside the modal header. If children are supplied then the tile, tileIconVariant and titleScreenReaderText props are ignored. */
    children?: React.ReactNode;
    /** Additional classes added to the modal header. */
    className?: string;
    /** Description of the modal. */
    description?: React.ReactNode;
    /** Id of the modal description. */
    descriptorId?: string;
    /** Optional help section for the modal header. */
    help?: React.ReactNode;
    /** Id of the modal title. */
    labelId?: string;
    /** Content rendered inside the modal title. */
    title?: React.ReactNode;
    /** Optional alert icon (or other) to show before the title. When the predefined alert types
     * are used the default styling will be automatically applied. */
    titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>;
    /** Optional title label text for screen readers. */
    titleScreenReaderText?: string;
}
export declare const ModalHeader: React.FunctionComponent<ModalHeaderProps>;
//# sourceMappingURL=ModalHeader.d.ts.map