Skip to main content

Wrapper Component

If you use the list component in your app often with different entities/queries, it’s a good idea to create a reusable wrapper component with defaults for your app. Below is an example from the demo website that uses Mantine and Tanstack Router.
  • Extend IDBList props to allow full customization
  • Styles are automatically applied to all lists
  • Populates default skeleton and no results UI components
  • Take in a route param to allow clicking on an item to navigate to a detail view