UNPKG

975 BTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { InternalStandardProps as StandardProps, Theme } from '..';
4import { DialogContentClasses } from './dialogContentClasses';
5
6export interface DialogContentProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
7 /**
8 * The content of the component.
9 */
10 children?: React.ReactNode;
11 /**
12 * Override or extend the styles applied to the component.
13 */
14 classes?: Partial<DialogContentClasses>;
15 /**
16 * Display the top and bottom dividers.
17 * @default false
18 */
19 dividers?: boolean;
20 /**
21 * The system prop that allows defining system overrides as well as additional CSS styles.
22 */
23 sx?: SxProps<Theme>;
24}
25
26/**
27 *
28 * Demos:
29 *
30 * - [Dialog](https://mui.com/material-ui/react-dialog/)
31 *
32 * API:
33 *
34 * - [DialogContent API](https://mui.com/material-ui/api/dialog-content/)
35 */
36export default function DialogContent(props: DialogContentProps): React.JSX.Element;