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