matrix-react-sdk
Version:
SDK for matrix.org using React
17 lines (16 loc) • 425 B
TypeScript
import React from "react";
interface IProps {
ts: number;
/**
* If specified will render both the sent-at and received-at timestamps in the tooltip
*/
receivedTs?: number;
showTwelveHour?: boolean;
showFullDate?: boolean;
showSeconds?: boolean;
showRelative?: boolean;
}
export default class MessageTimestamp extends React.Component<IProps> {
render(): React.ReactNode;
}
export {};