stream-chat-react
Version:
React components to create chat conversations or livestream style chat
19 lines (18 loc) • 663 B
TypeScript
import React from 'react';
import type { PollOption } from 'stream-chat';
type AmountBarProps = {
amount: number;
className?: string;
};
export declare const AmountBar: ({ amount, className }: AmountBarProps) => React.JSX.Element;
export type CheckmarkProps = {
checked?: boolean;
};
export declare const Checkmark: ({ checked }: CheckmarkProps) => React.JSX.Element;
export type PollOptionSelectorProps = {
option: PollOption;
displayAvatarCount?: number;
voteCountVerbose?: boolean;
};
export declare const PollOptionSelector: ({ displayAvatarCount, option, voteCountVerbose, }: PollOptionSelectorProps) => React.JSX.Element;
export {};