UNPKG

659 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '..';
3
4export interface DialogActionsProps
5 extends StandardProps<React.HTMLAttributes<HTMLDivElement>, DialogActionsClassKey> {
6 /**
7 * The content of the component.
8 */
9 children?: React.ReactNode;
10 /**
11 * If `true`, the actions do not have additional margin.
12 */
13 disableSpacing?: boolean;
14}
15
16export type DialogActionsClassKey = 'root' | 'spacing';
17
18/**
19 *
20 * Demos:
21 *
22 * - [Dialogs](https://mui.com/components/dialogs/)
23 *
24 * API:
25 *
26 * - [DialogActions API](https://mui.com/api/dialog-actions/)
27 */
28export default function DialogActions(props: DialogActionsProps): JSX.Element;