MCPcopy Create free account
hub / github.com/agegr/pi-web / SplitDiffHeader

Function SplitDiffHeader

components/MessageView.tsx:850–866  ·  view source on GitHub ↗
({ title, side }: { title: string; side: "left" | "right" })

Source from the content-addressed store, hash-verified

848}
849
850function SplitDiffHeader({ title, side }: { title: string; side: "left" | "right" }) {
851 return (
852 <div
853 title={title}
854 style={{
855 padding: "5px 10px",
856 color: "var(--text-dim)",
857 borderRight: side === "left" ? "1px solid var(--border)" : "none",
858 overflow: "hidden",
859 textOverflow: "ellipsis",
860 whiteSpace: "nowrap",
861 }}
862 >
863 {title}
864 </div>
865 );
866}
867
868function SplitDiffCellView({ cell, side }: { cell: SplitDiffCell; side: "left" | "right" }) {
869 const bg =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected