stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines • 643 B
TypeScript
import type { ComponentProps } from 'react';
import React from 'react';
import type { PartialSelected } from '../../types/types';
export type FileInputProps = {
onFileChange: (files: Array<File>) => void;
resetOnChange?: boolean;
} & Omit<ComponentProps<'input'>, 'type' | 'onChange'>;
export declare const FileInput: React.ForwardRefExoticComponent<Omit<FileInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
export declare const UploadFileInput: React.ForwardRefExoticComponent<Omit<PartialSelected<FileInputProps, "onFileChange">, "ref"> & React.RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=UploadButton.d.ts.map