content: import _extends from "@babel/runtime/helpers/builtin/extends";
  import _objectWithoutProperties from "@babel/runtime/helpers/builtin/objectWithoutProperties";
  import cx from 'classnames';
  import React from 'react';
  import PropTypes from 'prop-types';
  import MuiButton from "@material-ui/core/es/Button";
  
  var Button = function Button(_ref) {
    var children = _ref.children,
        className = _ref.className,
        text = _ref.text,
        props = _objectWithoutProperties(_ref, ["children", "className", "text"]);
  
    return React.createElement(MuiButton, _extends({
      variant: "raised",
      color: "primary",
      className: cx('Button', className),
      type: "submit"
    }, props), text || children);
  };
  
  Button.propTypes = process.env.NODE_ENV !== "production" ? {
    className: PropTypes.string,
    text: PropTypes.string,
    children: PropTypes.node
  } : {};
  export default Button;
  //# sourceMappingURL=Button.js.map
  