1 | "use strict";
|
2 | var __importStar = (this && this.__importStar) || function (mod) {
|
3 | if (mod && mod.__esModule) return mod;
|
4 | var result = {};
|
5 | if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
6 | result["default"] = mod;
|
7 | return result;
|
8 | };
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | var React = __importStar(require("react"));
|
11 | var styles_1 = require("@material-ui/core/styles");
|
12 | var dimensions_1 = require("../constants/dimensions");
|
13 | var useStyles = styles_1.makeStyles(function (theme) { return ({
|
14 | staticWrapperRoot: {
|
15 | overflow: 'hidden',
|
16 | minWidth: dimensions_1.DIALOG_WIDTH,
|
17 | display: 'flex',
|
18 | flexDirection: 'column',
|
19 | backgroundColor: theme.palette.background.paper,
|
20 | },
|
21 | }); }, { name: 'MuiPickersStaticWrapper' });
|
22 | exports.StaticWrapper = function (_a) {
|
23 | var children = _a.children;
|
24 | var classes = useStyles();
|
25 | return React.createElement("div", { className: classes.staticWrapperRoot, children: children });
|
26 | };
|