UNPKG

matrix-react-sdk

Version:
15 lines (14 loc) 389 B
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 {};