Documents / @faasjs/ant-design / Loading
Function: Loading()
Loading(
props
):Element
Loading component based on Spin
Parameters
• props: LoadingProps
Returns
Element
Example
<Loading /> // display loading
<Loading loading={ !remoteData }>
<div>{remoteData}</div>
</Loading>