import React from "react"; import Avatar from "./Avatar"; import Tooltip from "./Tooltip"; import { formatUTCToLocalTime } from "../../utils/dateUtils"; import moment from "moment"; const Timeline = ({ items = [], transparent = true }) => { if(items.length === 0){ return (
Not Action yet
{item.description}
} {item.attachments && item.attachments.length > 0 && ({`${item.users[0].firstName} ${item.users[0].lastName}`}
{item.users[0].role}{item.userComment}
}