UNPKG

998 BTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { InternalStandardProps as StandardProps, Theme } from '..';
4import { DialogActionsClasses } from './dialogActionsClasses';
5
6export interface DialogActionsProps 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<DialogActionsClasses>;
15 /**
16 * The system prop that allows defining system overrides as well as additional CSS styles.
17 */
18 sx?: SxProps<Theme>;
19 /**
20 * If `true`, the actions do not have additional margin.
21 * @default false
22 */
23 disableSpacing?: boolean;
24}
25
26/**
27 *
28 * Demos:
29 *
30 * - [Dialog](https://mui.com/material-ui/react-dialog/)
31 *
32 * API:
33 *
34 * - [DialogActions API](https://mui.com/material-ui/api/dialog-actions/)
35 */
36export default function DialogActions(props: DialogActionsProps): React.JSX.Element;