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