Skip to main content

Module: hooks/useSCFetchIncubator

Functions

useSCFetchIncubator

useSCFetchIncubator(object): Object

info

This custom hook is used to fetch an incubator object.

Parameters

NameTypeDescription
objectObject*
object.cacheStrategy?CacheStrategies
object.id?number*
object.incubator?SCIncubatorType*

Returns

Object

NameType
errorstring
scIncubatorSCIncubatorType
setSCIncubatorDispatch<SetStateAction<SCIncubatorType>>

Defined in

packages/react-core/src/hooks/useSCFetchIncubator.ts:20