var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React from 'react';
import { makeStyles, ButtonBase, Paper } from '@material-ui/core';
import PropTypes from 'prop-types';
const useStyles = makeStyles((theme) => ({
    root: {
        padding: 12,
        paddingLeft: 13,
        paddingRight: 11,
        borderRadius: 50,
        background: theme.palette.common.white,
        minWidth: 32,
        minHeight: 32
    }
}));
export const CircleButton = (props) => {
    const { children } = props, otherProps = __rest(props, ["children"]);
    const classes = useStyles(props);
    return (React.createElement(ButtonBase, Object.assign({}, otherProps), React.createElement(Paper, { className: classes.root, elevation: 1 }, children)));
};
CircleButton.propTypes = {
    children: PropTypes.node
};
//# sourceMappingURL=CircleButton.js.map