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 AntdAffix from 'antd/es/affix';
import 'antd/es/affix/style';

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

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

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

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

    return Affix;
}(Component);

export default Affix;