File: ModalBody.d.ts

package info (click to toggle)
cockpit-podman 120-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 271,812 kB
  • sloc: javascript: 695,724; cpp: 11,141; python: 7,762; sh: 901; makefile: 156; xml: 90
file content (19 lines) | stat: -rw-r--r-- 904 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// <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