import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import withStyles from '../styles/withStyles'; export const styles = theme => { const spacing = theme.spacing.unit * 3; return { root: { flex: '1 1 auto', overflowY: 'auto', padding: `0 ${spacing}px ${spacing}px ${spacing}px`, '&:first-child': { paddingTop: spacing, }, }, }; }; function DialogContent(props) { const { classes, children, className, ...other } = props; return (