stream-chat-react
Version:
React components to create chat conversations or livestream style chat
8 lines (7 loc) • 373 B
TypeScript
import React from 'react';
import type { Poll as PollClass } from 'stream-chat';
import type { DefaultStreamChatGenerics } from '../../types';
export declare const Poll: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ isQuoted, poll, }: {
poll: PollClass<StreamChatGenerics>;
isQuoted?: boolean;
}) => React.JSX.Element | null;