UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

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