@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
14 lines (13 loc) • 461 B
TypeScript
import React, { ReactNode } from 'react';
type UploadSectionProps = {
readFile: (data: File) => Promise<Record<string, unknown>[]>;
supportedFileFormats: string;
fileMessage: ReactNode;
onTextChange: (text: string) => void;
text?: string;
textMessage?: string;
importType: 'file' | 'text';
onImportTypeChange: (importType: 'file' | 'text') => void;
};
export declare const UploadSection: React.FC<UploadSectionProps>;
export {};