stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines (9 loc) • 422 B
TypeScript
import type { PropsWithChildren } from 'react';
import React 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;