Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 /** Renders content in the body of the modal */
3 export interface ModalBodyProps extends React.HTMLProps<HTMLDivElement> {
4 /** Content rendered inside the modal body. */
5 children?: React.ReactNode;
6 /** Additional classes added to the modal body. */
7 className?: string;
8 /** Accessible label applied to the modal body. This should be used to communicate
9 * important information about the modal body div element if needed, such as when it is scrollable.
10 */
11 'aria-label'?: string;
12 /** Accessible role applied to the modal body. This will default to "region" if the
13 * aria-label property is passed in. Set to a more appropriate role as applicable
14 * based on the modal content and context.
15 */
16 role?: string;
17 }
18 export declare const ModalBody: React.FunctionComponent<ModalBodyProps>;
19 //# sourceMappingURL=ModalBody.d.ts.map