Skip to main content

Module: hooks/useSCFetchCategories

Functions

useSCFetchCategories

useSCFetchCategories(props?): Object

info

This custom hook is used to fetch categories.

Parameters

NameType
props?Object
props.cacheStrategy?CacheStrategies

Returns

Object

NameType
categoriesSCCategoryType[]
isLoadingboolean

Defined in

hooks/useSCFetchCategories.ts:41