synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
12 lines • 615 B
TypeScript
import { CsvTableDescriptor, UploadToTablePreviewResult } from '@sage-bionetworks/synapse-client';
export type CsvPreviewProps = {
fileHandleId: string;
csvTableDescriptor: CsvTableDescriptor;
onCsvPreviewDataChange?: (data: UploadToTablePreviewResult) => void;
onIsLoadingChange?: (isLoading: boolean) => void;
};
/**
* Given a file handle ID and CSV Table Descriptor, fetches and displays a preview of the CSV file as it would be parsed into a table.
*/
export default function CsvPreview(props: CsvPreviewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CsvPreview.d.ts.map