interfaceTableOptionsProps { /** The TanStack table instance the toolbar operates on. */ table:Table<Product>; /** Called with the query when a search is submitted from the toolbar input. */ onSearch: (query:string) =>void; /** Toggles the filter drawer open/closed. */ onToggleDrawer: () =>void; /** Whether the filter drawer is currently open. */ isDrawerOpen:boolean; }
Props for TableOptions.
Example
Source