demo
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
dayjs.extend(relativeTime);
export const renderNumCalls = ({num = 0, time = '--'}) => (
<React.Fragment>
{/* time === 1595817403565 */}
{`${num}次|${dayjs(time).fromNow()}`}
</React.Fragment>
);