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

18 lines 885 B
import { ColumnModel, CsvTableDescriptor } from '@sage-bionetworks/synapse-client'; export type CsvPreviewDialogProps = { /** Whether the dialog is open */ open: boolean; /** Callback when the dialog is closed */ onClose: () => void; /** Callback when the user confirms the column models * @param dataFileHandleId - The file handle ID of the uploaded CSV * @param columnModels - The confirmed column models * */ onConfirm: (dataFileHandleId: string, columnModels: ColumnModel[], csvTableDescriptor: CsvTableDescriptor) => void; /** Whether the confirm action is pending */ confirmIsPending?: boolean; /** An optional error message to display */ errorMessage?: string; }; export default function CsvPreviewDialog(props: CsvPreviewDialogProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=CsvPreviewDialog.d.ts.map