DocsReferenceFunctionsuseCollectionList

useCollectionList

The useCollectionList function is a React hook that returns the list of the active collections in collections pages.

Usage

import { useCollectionList } from "builderoo";
 
const collectionList = useCollectionList()

Returns

CollectionListItem[]