21700: Install Bundler system-wide in Rails postinst
[arvados.git] / services / workbench2 / src / components / dialog-actions / dialog-actions.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { DialogActions as MuiDialogActions } from '@material-ui/core/';
6 import { StyleRulesCallback, withStyles } from '@material-ui/core';
7
8 const styles: StyleRulesCallback<'root'> = theme => {
9     const margin = theme.spacing.unit * 3;
10     return {
11         root: {
12             marginRight: margin,
13             marginBottom: margin,
14             marginLeft: margin,
15         },
16     };
17 };
18 export const DialogActions = withStyles(styles)(MuiDialogActions);