ExportResultData
Data produced by an export, or returned from processExport to replace AdapTable's output.
type selects the shape of data.
TypeScript
export type ExportResultData = {
type: 'csv';
data: string;
} | {
type: 'json';
data: ReportData;
} | {
type: 'excel';
data: Blob | string;
};