@activate-spritz-components/spritz-ui-components
Version:
This is shared components library for spritz projects.
19 lines (18 loc) • 533 B
TypeScript
import '@uppy/core/dist/style.css';
import '@uppy/dashboard/dist/style.css';
import { FunctionComponent } from 'react';
interface IProps {
className?: string;
title?: string;
subTitle?: string;
buttonsArray?: any[];
fileKey: string;
maxFileSize?: number;
allowedFileTypes?: string[];
onComplete: () => void;
handleUppyUpload: (fileKey: string, file: any) => void;
uppy: any;
uploderDocSizeText: string;
}
declare const UppyUploader: FunctionComponent<IProps>;
export default UppyUploader;