import _classCallCheck from "babel-runtime/helpers/classCallCheck";
import _createClass from "babel-runtime/helpers/createClass";
import _possibleConstructorReturn from "babel-runtime/helpers/possibleConstructorReturn";
import _inherits from "babel-runtime/helpers/inherits";
import React, { Component } from "react";
import AntdAnchor from "antd/es/anchor";
import "antd/es/anchor/style";
var Link = AntdAnchor.Link;

var Anchor = function (_Component) {
    _inherits(Anchor, _Component);

    function Anchor() {
        _classCallCheck(this, Anchor);

        return _possibleConstructorReturn(this, (Anchor.__proto__ || Object.getPrototypeOf(Anchor)).apply(this, arguments));
    }

    _createClass(Anchor, [{
        key: "render",
        value: function render() {
            return React.createElement(AntdAnchor, this.props);
        }
    }]);

    return Anchor;
}(Component);

export default Anchor;

Anchor.Link = Link;