stream-chat-react
Version:
React components to create chat conversations or livestream style chat
9 lines (8 loc) • 397 B
TypeScript
import React, { PropsWithChildren } from 'react';
export type AttachmentSelectorContextValue = {
fileInput: HTMLInputElement | null;
};
export declare const AttachmentSelectorContextProvider: ({ children, value, }: PropsWithChildren<{
value: AttachmentSelectorContextValue;
}>) => React.JSX.Element;
export declare const useAttachmentSelectorContext: () => AttachmentSelectorContextValue;