UNPKG

@e-group/material-module

Version:
23 lines (20 loc) 762 B
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);