ChemPare Documentation - v0.0.0
    Preparing search index...

    Function LoadingBackdrop

    • A full-screen loading overlay component with a spinning benzene molecule and stop button. The spinner has a delayed fade-in animation when the backdrop is opened.

      Parameters

      • props: LoadingBackdropProps

        Component properties containing:

        • open: Controls the visibility of the backdrop
        • onClick: Callback function triggered when the stop button is clicked

      Returns Element

      A loading backdrop component

      <LoadingBackdrop
      open={isLoading}
      onClick={handleStopLoading}
      />

      Future improvements:

      • Implement a Suspense component instead of manual loading state
      • Add a timer to show the Stop Search button after a delay