Get all Search Objects
I have an object where I define properties for a custom MenuItem component that includes a Link wrapper.
I have got my route types working where if I try to define a appMenuItem it will provide all of my route paths but I also want to do this for my search objects where I can optionally chose to pass search parameters from one page to another that will be used in the to property in the Link component.
For example:
The provided image shows how I get all of route paths as options, I want to do the same for my search objects.

1 Reply
equal-jade•12mo ago
looks like you are looking for https://tanstack.com/router/latest/docs/framework/react/api/router/linkOptions
TanStack | High Quality Open-Source Software for Web Developers
Headless, type-safe, powerful utilities for complex workflows like Data Management, Data Visualization, Charts, Tables, and UI Components.
