kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
24 lines (23 loc) • 1.26 kB
TypeScript
import React from 'react';
import { WrappedComponentProps } from 'react-intl';
import { FileLoading, FileLoadingProgress } from '@kepler.gl/types';
export declare const WarningMsg: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>;
declare type FileUploadProps = {
onFileUpload: (files: File[]) => void;
fileLoading: FileLoading | false;
fileLoadingProgress: FileLoadingProgress;
theme: object;
/** A list of names of supported formats suitable to present to user */
fileFormatNames?: string[];
/** A list of typically 3 letter extensions (without '.') for file matching */
fileExtensions?: string[];
/** Set to true if app wants to do its own file filtering */
disableExtensionFilter?: boolean;
} & WrappedComponentProps;
declare function FileUploadFactory(): React.FC<import("react-intl").WithIntlProps<FileUploadProps>> & {
WrappedComponent: React.ComponentType<FileUploadProps>;
};
export default FileUploadFactory;
export declare const FileUpload: React.FC<import("react-intl").WithIntlProps<FileUploadProps>> & {
WrappedComponent: React.ComponentType<FileUploadProps>;
};