Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Modal/ModalBox.d.ts

raw
1 /// <reference types="react" />
2 export interface ModalBoxProps extends React.HTMLProps<HTMLDivElement> {
3 /** Id to use for the modal box description. This should match the ModalHeader labelId or descriptorId */
4 'aria-describedby'?: string;
5 /** Adds an accessible name to the modal when there is no title in the ModalHeader. */
6 'aria-label'?: string;
7 /** Id to use for the modal box label. */
8 'aria-labelledby'?: string;
9 /** Content rendered inside the modal box. */
10 children: React.ReactNode;
11 /** Additional classes added to the modal box. */
12 className?: string;
13 /** Position of the modal. By default a modal will be positioned vertically and horizontally centered. */
14 position?: 'default' | 'top';
15 /** Offset from alternate position. Can be any valid CSS length/percentage. */
16 positionOffset?: string;
17 /** Variant of the modal. */
18 variant?: 'small' | 'medium' | 'large' | 'default';
19 }
20 export declare const ModalBox: React.FunctionComponent<ModalBoxProps>;
21 //# sourceMappingURL=ModalBox.d.ts.map