DocsTable
Home > @backstage/plugin-techdocs > DocsTable
Component which renders a table documents
Signature:
DocsTable: {
    (props: DocsTableProps): import("react/jsx-runtime").JSX.Element | null;
    columns: {
        createTitleColumn(options?: {
            hidden?: boolean;
        }): TableColumn<DocsTableRow>;
        createNameColumn(): TableColumn<DocsTableRow>;
        createOwnerColumn(): TableColumn<DocsTableRow>;
        createKindColumn(): TableColumn<DocsTableRow>;
        createTypeColumn(): TableColumn<DocsTableRow>;
    };
    actions: {
        createCopyDocsUrlAction(copyToClipboard: Function): (row: DocsTableRow) => {
            icon: () => import("react/jsx-runtime").JSX.Element;
            tooltip: string;
            onClick: () => any;
        };
        createStarEntityAction(isStarredEntity: Function, toggleStarredEntity: Function): (row: DocsTableRow) => {
            cellStyle: {
                paddingLeft: string;
            };
            icon: () => import("react/jsx-runtime").JSX.Element;
            tooltip: string;
            onClick: () => any;
        };
    };
}