UNPKG

@uimkit/uikit-react

Version:

<img style="width:64px" src="https://mgmt.uimkit.chat/media/img/avatar.png"/>

14 lines (11 loc) 470 B
import { PropsWithChildren } from 'react'; import { IbaseStateProps } from './useMessageInputState.js'; import { MessageType } from '../../../types/models.js'; interface filesData { file: HTMLInputElement | File; } declare function useUploadPicker<T extends IbaseStateProps>(props: PropsWithChildren<T>): { sendUploadMessage: (data: filesData, type: MessageType) => void; }; export { filesData, useUploadPicker }; //# sourceMappingURL=useUploadPicker.d.ts.map