UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

7 lines (6 loc) 651 B
import { jsx as _jsx } from "react/jsx-runtime"; import FileDroppable from '../../../../../components/FileDroppable/index'; import HelpBlock from '../../../../../components/HelpBlock/index'; export const ImportFileSection = (props) => { return (_jsx(FileDroppable, { loadingText: _jsx(HelpBlock, { className: "twa:mb-2", children: "File loaded , file ready to be imported." }), message: props.message, helpText: "Data Import", defaultText: "Click here to select a file to load, or drag it here", dragOverText: "Drop file here to start Data Import", className: "twa:h-full", fileAccept: props.supportedFileFormats, readFile: props.readFile })); };