InfiniteView component

  • Parameters

    • props: IInfiniteViewProps

      Component props

      • className

        Custom CSS class name

      • style

        Custom inline styles

      • sx

        SX prop from theme-ui

      • loading

        Loading state of the component

      • throwError

        Whether or not to throw errors

      • hasMore

        Whether there is more data to load

      • children

        Child components to render

      • scrollXSubject

        Subject for horizontal scroll position

      • scrollYSubject

        Subject for vertical scroll position

      • onDataRequest

        Callback function to request data

      • onLoadStart

        Callback function called when data loading starts

      • onLoadEnd

        Callback function called when data loading ends

      • fallback

        Fallback component to render in case of error

    Returns Element

    Rendered component