Home > @findkit/ui > useCustomRouterData

useCustomRouterData variable

Manage custom router data from a slot override

Signature:

useCustomRouterData: <T extends CustomRouterData>(initial?: T | undefined) => [data: T, setData: (data: CustomRouterDataSetter<T>) => void]