T
TanStack3y ago
harsh-harlequin

Nav bar options

I am trying to create a nav bar with some preset options and I want to get autocomplete on the paths I tried importing AllRouteInfo and ToPathOption to use them but I dont get my own route config (only "/" route is available) look 4th and 5th photo I also tried using path a string but the link than saying it missing params 3th photo
No description
No description
No description
No description
No description
1 Reply
continuing-cyan
continuing-cyan3y ago
You'll probably want to use the keyof RegisteredAllRouteInfo['routePaths']

Did you find this page helpful?