habit-export-center
Version:
habit's front end solution to export list
20 lines (19 loc) • 748 B
TypeScript
import { default as React } from 'react';
import { ExportEntry, ExtractionState, TableHeadEntries } from '../../types/export-types';
export declare const Trash: React.FC<React.SVGProps<SVGSVGElement>>;
export declare const Document: React.FC<React.SVGProps<SVGSVGElement>>;
interface ExportsTableProps {
entries: ExportEntry[];
onDownload?: (id: string) => void;
onDelete?: (id: string) => void;
downloadButtonLabel?: string;
deleteButtonLabel?: string;
emptyTable?: {
title: string;
subtitle: string;
};
tableHeaderLabels?: Record<TableHeadEntries, string>;
entryStateLabels?: Record<ExtractionState | "all", string>;
}
export declare const ExportsTable: React.FC<ExportsTableProps>;
export {};