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 AntdSpin from "antd/es/spin";
import "antd/es/spin/style";
var setDefaultIndicator = AntdSpin.setDefaultIndicator;

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

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

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

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

    return Spin;
}(Component);

export default Spin;

Spin.setDefaultIndicator = setDefaultIndicator;