stream-chat-react
Version:
React components to create chat conversations or livestream style chat
15 lines • 686 B
TypeScript
import type { PropsWithChildren } from 'react';
export type PollActionProps = {
buttonText: string;
closeModal: () => void;
modalIsOpen: boolean;
openModal: () => void;
/**
* Additional actions are shown based on the poll settings defined by the creator.
* Examples are "Suggest an option", "Add a comment", "View N comment(s)".
*/
isAdditionalAction?: boolean;
modalClassName?: string;
};
export declare const PollAction: ({ buttonText, children, closeModal, isAdditionalAction, modalClassName, modalIsOpen, openModal, }: PropsWithChildren<PollActionProps>) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=PollAction.d.ts.map