OptionalclassName?: stringA custom class name to be added to the root element.
OptionalcollectionId?: SdkBrowserCollectionIdThe collection to show:
http://localhost:3000/collection/1-my-collection the ID is 1."nT4gT_MOnU1uJ1zLsGaTV"."personal" - the user's personal collection."tenant" - the user's tenant collection."root" - the root collection, "Our analytics"."all" - a list that contains the root collection, the tenant collections, and the user's personal collection.Defaults to "personal".
OptionalEmptyContentComponent?: ComponentType | nullA component to display when there are no items in the collection.
OptionalonClick?: (item: MetabaseCollectionItem) => voidA function to call when an item is clicked.
OptionalpageSize?: numberThe number of items to display per page. The default is 25.
OptionalshowDashboardQuestions?: booleanWhether to show questions that belong to a dashboard alongside collection saved questions. Set to true to show them. Defaults to false, keeping the list focused on collection content.
Optionalstyle?: CSSPropertiesA custom style object to be added to the root element.
OptionalvisibleColumns?: CollectionBrowserListColumns[]The columns to display in the collection items table. If not provided, all columns will be shown.
OptionalvisibleEntityTypes?: ("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.