Hook to get currently loaded catalog
In React component retrieve current catalog with
import { useCatalog } from '@i-vresse/wb-core/dist/store'function MyComponent() { const catalog = useCatalog() return <div>{catalog.title}</div>}
catalog value
Generated using TypeDoc
Hook to get currently loaded catalog
Example
In React component retrieve current catalog with
Returns
catalog value