@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
14 lines (13 loc) • 465 B
TypeScript
import { ReactNode } from 'react';
import { DropzoneProps as ReactDropzoneProps } from 'react-dropzone';
export type ImagePickerProps = {
defaultLabel?: ReactNode;
dragLabel?: ReactNode;
information?: string;
onFileChange?: (file: File | null) => void;
width?: string;
height?: string;
initialFile?: string | File;
} & ReactDropzoneProps;
declare const ImagePicker: React.FunctionComponent<ImagePickerProps>;
export default ImagePicker;