matrix-react-sdk
Version:
SDK for matrix.org using React
15 lines (14 loc) • 389 B
TypeScript
import React from "react";
import { MatrixEvent, Poll } from "matrix-js-sdk/src/matrix";
interface Props {
event: MatrixEvent;
poll: Poll;
onClick: () => void;
}
/**
* Render an ended poll with the winning answer and vote count
* @param event - the poll start MatrixEvent
* @param poll - Poll instance
*/
export declare const PollListItemEnded: React.FC<Props>;
export {};