bastilian-tabletools
    Preparing search index...

    Function useItems

    • This hook handles either just returning a provided array of items or calls a provided async (fetch) function to load an array of items

      Parameters

      • externalLoading: any
      • externalItems: any
      • externalError: any
      • externalTotal: any

      Returns any[]

      An array of items from the itemsProp passed in or a return from it as a function

                                         TODO it might be good to use this hook as well to "identify" items similar to the `useItemIdentify` hook