1 | import _extends from "@babel/runtime/helpers/esm/extends";
|
2 | import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
3 | import * as React from 'react';
|
4 | import PropTypes from 'prop-types';
|
5 | import clsx from 'clsx';
|
6 | import withStyles from '../styles/withStyles';
|
7 | export var styles = function styles(theme) {
|
8 | return {
|
9 |
|
10 | root: {
|
11 | display: 'flex',
|
12 | padding: theme.spacing(1, 2, 2)
|
13 | }
|
14 | };
|
15 | };
|
16 | var AccordionDetails = React.forwardRef(function AccordionDetails(props, ref) {
|
17 | var classes = props.classes,
|
18 | className = props.className,
|
19 | other = _objectWithoutProperties(props, ["classes", "className"]);
|
20 |
|
21 | return React.createElement("div", _extends({
|
22 | className: clsx(classes.root, className),
|
23 | ref: ref
|
24 | }, other));
|
25 | });
|
26 | process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes = {
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | |
33 |
|
34 |
|
35 | children: PropTypes.node,
|
36 |
|
37 | |
38 |
|
39 |
|
40 |
|
41 | classes: PropTypes.object,
|
42 |
|
43 | |
44 |
|
45 |
|
46 | className: PropTypes.string
|
47 | } : void 0;
|
48 | export default withStyles(styles, {
|
49 | name: 'MuiAccordionDetails'
|
50 | })(AccordionDetails); |
\ | No newline at end of file |