@makeen.io/material-ui-kit
Version:
Makeen UI components kit. Based on material-ui.
30 lines (29 loc) • 880 B
TypeScript
import React from "react";
import { IExtendedTheme } from "../../themes/default";
declare type BaseImageProps = {
theme: IExtendedTheme;
};
declare type ImageWrapperProps = BaseImageProps & {
hasImage?: boolean;
height?: string;
width?: string;
};
export declare type PhotoPickerProps = ImageWrapperProps & {
children: React.ReactNode;
initImage: any;
name?: string;
onFileChange: (f: File[] | null) => void;
uploadProgress?: number;
};
declare const _default: React.ForwardRefExoticComponent<BaseImageProps & {
hasImage?: boolean | undefined;
height?: string | undefined;
width?: string | undefined;
} & {
children: React.ReactNode;
initImage: any;
name?: string | undefined;
onFileChange: (f: File[] | null) => void;
uploadProgress?: number | undefined;
} & React.RefAttributes<any>>;
export default _default;