UNPKG

matrix-react-sdk

Version:
23 lines (22 loc) 685 B
import React from "react"; import { MatrixEvent } from "matrix-js-sdk/src/models/event"; import { Relations } from "matrix-js-sdk/src/models/relations"; interface IProps { mxEvent: MatrixEvent; reactions?: Relations; } interface IState { myReactions: MatrixEvent[]; showAll: boolean; } export default class ReactionsRow extends React.PureComponent<IProps, IState> { static contextType: React.Context<any>; constructor(props: any, context: any); componentDidUpdate(prevProps: any): void; componentWillUnmount(): void; onReactionsChange: () => void; getMyReactions(): any[]; onShowAllClick: () => void; render(): JSX.Element; } export {};