import React from 'react'; function ValidateTableItem(props) { const statusColor = (status) => { switch (status) { case 'Correct': return 'bg-emerald-100 text-emerald-600'; case 'Incorrect': return 'bg-rose-100 text-rose-500'; default: return 'bg-slate-100 text-slate-500'; } }; function openValidatePanel (event) { event.stopPropagation() props.setValidatePanelOpen(true) } return ( openValidatePanel(e)}>
{props.filed}
{props.data}
{props.seed}
{props.status}
{/* Menu button */} ); } export default ValidateTableItem;