Skip to main content
Version: Next

EntityTable

Home > @backstage/plugin-catalog-react > EntityTable

A general entity table component, that can be used for composing more specific entity tables.

Signature:

EntityTable: {
<T extends Entity>(props: EntityTableProps<T>): React.JSX.Element;
columns: Readonly<{
createEntityRefColumn<T extends Entity>(options: {
defaultKind?: string;
}): TableColumn<T>;
createEntityRelationColumn<T extends Entity>(options: {
title: string;
relation: string;
defaultKind?: string;
filter?: {
kind: string;
};
}): TableColumn<T>;
createOwnerColumn<T extends Entity>(): TableColumn<T>;
createDomainColumn<T extends Entity>(): TableColumn<T>;
createSystemColumn<T extends Entity>(): TableColumn<T>;
createMetadataDescriptionColumn<T extends Entity>(): TableColumn<T>;
createSpecLifecycleColumn<T extends Entity>(): TableColumn<T>;
createSpecTypeColumn<T extends Entity>(): TableColumn<T>;
}>;
systemEntityColumns: TableColumn<import("@backstage/catalog-model").SystemEntity>[];
componentEntityColumns: TableColumn<import("@backstage/catalog-model").ComponentEntity>[];
}