How to use the @aws-amplify/ui.sceneErrorText function in @aws-amplify/ui

To help you get started, we’ve selected a few @aws-amplify/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aws-amplify / amplify-js / packages / aws-amplify-react / src / XR / Loading.tsx View on Github external
<div data-test="{sumerianScene.loadingSceneName}">
          {props.sceneName}
        </div>
        { props.sceneError ? 
          <div data-test="{sumerianScene.errorText}">{props.sceneError.displayText}</div> :
          <div data-test="{sumerianScene.loadingBar}">
            <div style="{{width:">
          </div>
        }
      </div>
    
  );
}
github aws-amplify / amplify-js / packages / aws-amplify-react / src / XR / Loading.jsx View on Github external
<div data-test="{sumerianScene.loadingSceneName}">
          {props.sceneName}
        </div>
        { props.sceneError ? 
          <div data-test="{sumerianScene.errorText}">{props.sceneError.displayText}</div> :
          <div data-test="{sumerianScene.loadingBar}">
            <div style="{{width:">
          </div>
        }
      </div>
    
  );
}