import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["name", "color"];
import * as React from 'react';
import "./index.scss";
var Button = function Button(_ref) {
  var name = _ref.name,
    color = _ref.color,
    otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
  return /*#__PURE__*/React.createElement("span", _extends({
    className: 'button__container',
    style: {
      color: color
    }
  }, otherProps), name);
};
export default Button;