Optional
className?: stringA custom class name to be added to the root element.
Optional
collectionId?: SdkCollectionIdThe numerical ID of the collection, "personal" for the user's personal collection, or "root" for the root collection. You can find this ID in the URL when accessing a collection in your Metabase instance. For example, the collection ID in http://localhost:3000/collection/1-my-collection
would be 1
. Defaults to "personal"
Optional
EmptyContentComponent?: null | ComponentTypeA component to display when there are no items in the collection.
Optional
onClick?: (item: CollectionItem) => voidA function to call when an item is clicked.
Optional
pageSize?: numberThe number of items to display per page. The default is 25.
Optional
style?: CSSPropertiesA custom style object to be added to the root element.
Optional
visibleColumns?: CollectionBrowserListColumns[]The columns to display in the collection items table. If not provided, all columns will be shown.
Optional
visibleEntityTypes?: ("collection" | "dashboard" | "question" | "model")[]The types of entities that should be visible. If not provided, all entities will be shown.
A component that allows you to browse collections and their items.