@uimkit/uikit-react
Version:
<img style="width:64px" src="https://mgmt.uimkit.chat/media/img/avatar.png"/>
12 lines (9 loc) • 376 B
TypeScript
import React__default, { PropsWithChildren } from 'react';
interface UploadProps {
type?: string;
accept?: string;
onChange?: (files: HTMLInputElement | File) => void;
}
declare function useUploadElement<T extends UploadProps>(props: PropsWithChildren<T>): React__default.ReactElement;
export { useUploadElement };
//# sourceMappingURL=useUploadElement.d.ts.map