FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

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>