stream-chat-react
Version:
React components to create chat conversations or livestream style chat
11 lines (10 loc) • 459 B
TypeScript
import React from 'react';
import type { PollOption } from 'stream-chat';
export type PollResultOptionVoteCounterProps = {
optionId: string;
};
export declare const PollResultOptionVoteCounter: ({ optionId, }: PollResultOptionVoteCounterProps) => React.JSX.Element;
export type PollOptionWithVotesHeaderProps = {
option: PollOption;
};
export declare const PollOptionWithVotesHeader: ({ option }: PollOptionWithVotesHeaderProps) => React.JSX.Element;