import React,{Component} from 'react'; import {Spin} from "antd"; class SpinContainer extends Component{ constructor(props) { super(props); } render() { return (
{this.props.children} {this.props.spinning ?
: null}
) } } export default SpinContainer;