stream-chat-react
Version:
React components to create chat conversations or livestream style chat
22 lines • 1.35 kB
TypeScript
import React from 'react';
import type { Message } from 'stream-chat';
import type { DefaultStreamChatGenerics } from '../../types/types';
export declare const EmojiIconLarge: () => JSX.Element;
export declare const EmojiIconSmall: () => JSX.Element;
export declare const EmojiPickerIcon: () => JSX.Element;
export declare const FileUploadIcon: () => JSX.Element;
export declare const FileUploadIconFlat: () => JSX.Element;
export declare const LoadingIndicatorIcon: ({ size }: {
size?: number | undefined;
}) => JSX.Element;
export declare const UploadIcon: () => JSX.Element;
export declare const CloseIcon: () => JSX.Element;
export declare const RetryIcon: () => JSX.Element;
export declare const DownloadIcon: () => JSX.Element;
export declare const SendIconV1: () => JSX.Element;
export declare const SendIconV2: () => JSX.Element;
export declare type SendButtonProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
sendMessage: (event: React.BaseSyntheticEvent, customMessageData?: Partial<Message<StreamChatGenerics>>) => void;
} & React.ComponentProps<'button'>;
export declare const SendButton: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ sendMessage, ...rest }: SendButtonProps<StreamChatGenerics>) => JSX.Element;
//# sourceMappingURL=icons.d.ts.map