Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Modal/ModalHeader.d.ts

raw
1 /// <reference types="react" />
2 /** Renders content in the header of the modal */
3 export interface ModalHeaderProps {
4 /** Custom content rendered inside the modal header. If children are supplied then the tile, tileIconVariant and titleScreenReaderText props are ignored. */
5 children?: React.ReactNode;
6 /** Additional classes added to the modal header. */
7 className?: string;
8 /** Description of the modal. */
9 description?: React.ReactNode;
10 /** Id of the modal description. */
11 descriptorId?: string;
12 /** Optional help section for the modal header. */
13 help?: React.ReactNode;
14 /** Id of the modal title. */
15 labelId?: string;
16 /** Content rendered inside the modal title. */
17 title?: React.ReactNode;
18 /** Optional alert icon (or other) to show before the title. When the predefined alert types
19 * are used the default styling will be automatically applied. */
20 titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>;
21 /** Optional title label text for screen readers. */
22 titleScreenReaderText?: string;
23 }
24 export declare const ModalHeader: React.FunctionComponent<ModalHeaderProps>;
25 //# sourceMappingURL=ModalHeader.d.ts.map