GUIComponent---Visible

2019-10-29  本文已影响0人  hanxianshe_9530
{telemetryModalVisible ? (
   <TelemetryModal
       onCancel={onTelemetryModalCancel}
       onOptIn={onTelemetryModalOptIn}
       onOptOut={onTelemetryModalOptOut}
       onRequestClose={onRequestCloseTelemetryModal}
   />
) : null}
{loading ? (
   <Loader />
) : null}
{isCreating ? (
   <Loader messageId="gui.loader.creating" />
) : null}
{isRendererSupported ? null : (
   <WebGlModal isRtl={isRtl} />
)}
{tipsLibraryVisible ? (
   <TipsLibrary />
) : null}
{cardsVisible ? (
   <Cards />
) : null}
{alertsVisible ? (
   <Alerts className={styles.alertsContainer} />
) : null}
{connectionModalVisible ? (
   <ConnectionModal
       vm={vm}
   />
) : null}
{costumeLibraryVisible ? (
   <CostumeLibrary
       vm={vm}
       onRequestClose={onRequestCloseCostumeLibrary}
   />
) : null}
{backdropLibraryVisible ? (
   <BackdropLibrary
       vm={vm}
       onRequestClose={onRequestCloseBackdropLibrary}
   />
) : null}
上一篇下一篇

猜你喜欢

热点阅读