How to use the @aws-amplify/ui.sceneBar 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 / SumerianScene.tsx View on Github external
}
      }

      if (this.state.isFullscreen) {
        screenSizeButton =  this.minimize()} />
      } else {
        screenSizeButton =  this.maximize()} />
      }
    }

    return (
      <div data-test="{sumerianScene.container}" id="{SCENE_CONTAINER_DOM_ID}">
        <div data-test="{sumerianScene.sumerianScene}" id="{SCENE_DOM_ID}">
          {this.state.loading &amp;&amp; }
        </div>
        <div data-test="{sumerianScene.bar}">
          <span data-test="{sumerianScene.actions}">
            {muteButton}
            {enterOrExitVRButton}
            {screenSizeButton}
          </span>
        </div>
      </div>
    );
  }
}
github aws-amplify / amplify-js / packages / aws-amplify-react / src / XR / SumerianScene.jsx View on Github external
}
      }

      if (this.state.isFullscreen) {
        screenSizeButton =  this.minimize()} /&gt;
      } else {
        screenSizeButton =  this.maximize()} /&gt;
      }
    }

    return (
      <div data-test="{sumerianScene.container}" id="{SCENE_CONTAINER_DOM_ID}">
        <div data-test="{sumerianScene.sumerianScene}" id="{SCENE_DOM_ID}">
          {this.state.loading &amp;&amp; }
        </div>
        <div data-test="{sumerianScene.bar}">
          <span data-test="{sumerianScene.actions}">
            {muteButton}
            {enterOrExitVRButton}
            {screenSizeButton}
          </span>
        </div>
      </div>
    );
  }
}