"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Link = Link;
exports.default = void 0;

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));

var _react = _interopRequireDefault(require("react"));

var _styles = require("@material-ui/core/styles");

var _Link = _interopRequireDefault(require("@material-ui/core/Link"));

var useStyles = function useStyles(props) {
  return (0, _styles.makeStyles)(function (theme) {
    return {
      root: {}
    };
  });
};

function Link(_ref) {
  var children = _ref.children,
      style = _ref.style,
      props = (0, _objectWithoutProperties2.default)(_ref, ["children", "style"]);
  var classes = useStyles(props)();
  var classNames = "".concat(classes.root, " ").concat(props.className);
  return /*#__PURE__*/_react.default.createElement(_Link.default, Object.assign({}, props, {
    style: style,
    className: classNames
  }), children);
}

var _default = Link;
exports.default = _default;