import { DateTimeTooltip } from './datetime-tooltip' import React from 'react' import { fromNow } from 'web/lib/util/time' export function RelativeTimestamp(props: { time: number }) { const { time } = props return ( {fromNow(time)} ) }