@edancerys/ts-react-components-lib
Version:
21 lines (20 loc) • 699 B
TypeScript
import React, { ChangeEvent } from 'react';
import { TargetProps } from './UserInputs/SelectDropDown';
export interface ImageInputProps {
name?: string;
value?: string;
maxWidth?: string;
minHeight?: string;
margin?: string;
padding?: string;
backgroundColor?: string;
borderRadius?: string;
alowMultiple?: boolean;
themeColor?: string;
onChange?: (event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | TargetProps>) => void;
onImgClear?: (event: ChangeEvent<HTMLInputElement>) => void;
}
export interface InnerProps extends ImageInputProps {
hasFiles?: any;
}
export declare const ImageInput: React.FC<ImageInputProps>;