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 AntdBackTop from 'antd/es/back-top';
import 'antd/es/back-top/style';

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

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

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

    _createClass(BackTop, [{
        key: 'render',
        value: function render() {
            return React.createElement(AntdBackTop, this.props);
        }
    }]);

    return BackTop;
}(Component);

export default BackTop;