UNPKG

637 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '..';
3
4export interface DialogContentProps
5 extends StandardProps<React.HTMLAttributes<HTMLDivElement>, DialogContentClassKey> {
6 /**
7 * The content of the component.
8 */
9 children?: React.ReactNode;
10 /**
11 * Display the top and bottom dividers.
12 */
13 dividers?: boolean;
14}
15
16export type DialogContentClassKey = 'root' | 'dividers';
17
18/**
19 *
20 * Demos:
21 *
22 * - [Dialogs](https://mui.com/components/dialogs/)
23 *
24 * API:
25 *
26 * - [DialogContent API](https://mui.com/api/dialog-content/)
27 */
28export default function DialogContent(props: DialogContentProps): JSX.Element;