import {Tooltip, Tag, Typography, Popconfirm, Button } from 'antd' import {UserView} from './UserView' const markTypes = { 0 : {color:"orange", text : "неизвестно"}, 1 : {color:"green", text : "согласовано"}, } const {Text} = Typography export const Mark = ({mark, onDelete}) => { const markType = markTypes[mark.idMarkType]??markTypes[0] return }> {`${markType.text} ${new Date(mark.dateCreated).toLocaleString()}`} {(!mark?.isDeleted)&& } }