UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

17 lines (16 loc) 1.03 kB
import React from 'react'; import type { AddCommentFormProps } from './AddCommentForm'; import type { SuggestPollOptionFormProps } from './SuggestPollOptionForm'; import type { EndPollDialogProps } from './EndPollDialog'; import type { PollAnswerListProps } from './PollAnswerList'; import type { FullPollOptionsListingProps } from './PollOptionsFullList'; import type { PollResultsProps } from './PollResults'; export type PollActionsProps = { AddCommentForm?: React.ComponentType<AddCommentFormProps>; EndPollDialog?: React.ComponentType<EndPollDialogProps>; PollAnswerList?: React.ComponentType<PollAnswerListProps>; PollOptionsFullList?: React.ComponentType<FullPollOptionsListingProps>; PollResults?: React.ComponentType<PollResultsProps>; SuggestPollOptionForm?: React.ComponentType<SuggestPollOptionFormProps>; }; export declare const PollActions: ({ AddCommentForm, EndPollDialog, PollAnswerList, PollOptionsFullList, PollResults, SuggestPollOptionForm, }: PollActionsProps) => React.JSX.Element;