All files / apps/web/src/components ItemRecap.jsx

100% Statements 1/1
100% Branches 2/2
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16  4x                            
export default function ItemRecap({ name, description, meta, actions }) {
  return (
    <div className="px-3 sm:px-6 py-2.5 border-b border-gray-200 bg-white flex items-center justify-between gap-4 flex-shrink-0">
      <div className="flex items-center min-w-0">
        <span className="text-sm font-semibold text-gray-900 truncate">{name}</span>
        {description && (
          <span className="text-xs text-gray-500 truncate ml-3 hidden sm:inline">{description}</span>
        )}
      </div>
      <div className="flex items-center gap-3 flex-shrink-0">
        {meta}
        {actions}
      </div>
    </div>
  )
}