Skip to main content

    LoadingIndicator

    Code:

    import LoadingIndicator from '@department-of-veterans-affairs/formation-react/LoadingIndicator'
    
    <div className="site-c-reactcomp__rendered">
      <LoadingIndicator
        message='Loading your application'
        setFocus={true}
      />
    </div>
    

    Rendered Component

    Loading your application

    Props:

    Prop NameTypeIs RequiredDefault ValueDescription
    messagestringrequirednonemessage visible on screen when loading
    setFocusbooloptionalfalsedoes the loading indicator capture focus