UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

12 lines 615 B
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