@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
14 lines (13 loc) • 408 B
TypeScript
/// <reference types="react" />
export interface AvatarUploaderProps {
compressSize?: number;
onChange: (avatar: string) => void;
onUpload?: (file: File) => void;
texts?: {
draggerDesc?: string;
fileTypeError?: string;
uploadBtn?: string;
};
}
declare const AvatarUploader: import("react").NamedExoticComponent<AvatarUploaderProps>;
export default AvatarUploader;