Interface: UseMenuOptions
Defined in: composables/react/useMenu.ts:41
Options for useMenu.
Properties
cacheTtlMs?
optionalcacheTtlMs?:number
Defined in: composables/react/useMenu.ts:49
Cache TTL in milliseconds. Default: 12h.
depth?
optionaldepth?:number
Defined in: composables/react/useMenu.ts:47
Nesting depth for the category tree. Default: 3.
graphqlClient
graphqlClient:
GraphQLClient
Defined in: composables/react/useMenu.ts:43
GraphQL client used to run the recursive category query.
language?
optionallanguage?:string
Defined in: composables/react/useMenu.ts:45
Language used to resolve category names/slugs. Defaults to 'NL'.