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





1 Reply
continuing-cyan•3y ago
You'll probably want to use the
keyof RegisteredAllRouteInfo['routePaths']