@e-group/material-module
Version:
EGroup Team react component modules.
23 lines (20 loc) • 762 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React, { forwardRef } from 'react';
import { withStyles, createStyles } from '@material-ui/core';
import clsx from 'clsx';
const styles = theme => createStyles({
root: {
padding: theme.spacing(2, 3)
}
});
const SurveyBoby = /*#__PURE__*/forwardRef((props, ref) => {
const classes = props.classes,
className = props.className,
other = _objectWithoutProperties(props, ["classes", "className"]);
return /*#__PURE__*/React.createElement("div", _extends({
ref: ref,
className: clsx(className, classes.root)
}, other));
});
export default withStyles(styles)(SurveyBoby);