Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

3.2 KB
Raw Blame
function CollectionBrowser(
  props: {
    collectionId?: SdkBrowserCollectionId;
    EmptyContentComponent?: ComponentType | null;
    onClick?: (item: MetabaseCollectionItem) => void;
    pageSize?: number;
    showDashboardQuestions?: boolean;
    visibleColumns?: CollectionBrowserListColumns[];
    visibleEntityTypes?: ("collection" | "dashboard" | "model" | "question")[];
  } & {
    className?: string;
    style?: CSSProperties;
  },
): Element;

A component that allows you to browse collections and their items.

Parameters

Parameter Type
props { collectionId?: SdkBrowserCollectionId; EmptyContentComponent?: | ComponentType | null; onClick?: (item: MetabaseCollectionItem) => void; pageSize?: number; showDashboardQuestions?: boolean; visibleColumns?: CollectionBrowserListColumns[]; visibleEntityTypes?: ("collection" | "dashboard" | "model" | "question")[]; } & { className?: string; style?: CSSProperties; }

Returns

Element