MCPcopy Create free account
hub / github.com/agent-tower/core / CodeLine

Function CodeLine

design/agent-tower/components/WorkspacePanel.tsx:329–336  ·  view source on GitHub ↗
({ num, children, isModified }: { num: number; children?: React.ReactNode; isModified?: boolean })

Source from the content-addressed store, hash-verified

327);
328
329const CodeLine = ({ num, children, isModified }: { num: number; children?: React.ReactNode; isModified?: boolean }) => (
330 <div className={`flex gap-4 px-4 hover:bg-neutral-50/80 transition-colors ${isModified ? 'text-neutral-900' : ''}`}>
331 <div className={`text-[10px] select-none text-right min-w-[24px] pt-[2px] ${isModified ? 'text-blue-400 font-medium' : 'text-neutral-300'}`}>
332 {num}
333 </div>
334 <div className="flex-1 whitespace-pre">{children || ' '}</div>
335 </div>
336);
337
338const FileItem = ({ name, status, color }: { name: string; status: string; color: string }) => (
339 <div className="flex items-center gap-2 px-2 py-1.5 hover:bg-neutral-50 rounded cursor-pointer group">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected