Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 export interface AboutModalProps extends React.HTMLProps<HTMLDivElement> {
3 /** Content rendered inside the about modal */
4 children: React.ReactNode;
5 /** Additional classes added to the about modal */
6 className?: string;
7 /** Flag to show the about modal */
8 isOpen?: boolean;
9 /** A callback for when the close button is clicked */
10 onClose?: (event: React.MouseEvent | MouseEvent | KeyboardEvent) => void;
11 /** Product name */
12 productName?: string;
13 /** Trademark information */
14 trademark?: string;
15 /** The URL of the image for the brand */
16 brandImageSrc: string;
17 /** The alternate text of the brand image */
18 brandImageAlt: string;
19 /** The URL or file path of the image for the background */
20 backgroundImageSrc?: string;
21 /** Prevents the about modal from rendering content inside a container; allows for more flexible layouts */
22 hasNoContentContainer?: boolean;
23 /** The parent container to append the modal to. Defaults to document.body */
24 appendTo?: HTMLElement | (() => HTMLElement);
25 /** Aria label for the about modal. This should be used when no productName prop is provided */
26 'aria-label'?: string;
27 /** Set aria label to the close button */
28 closeButtonAriaLabel?: string;
29 /** Flag to disable focus trap */
30 disableFocusTrap?: boolean;
31 }
32 export declare const AboutModal: React.FunctionComponent<AboutModalProps>;
33 //# sourceMappingURL=AboutModal.d.ts.map