({ title, side }: { title: string; side: "left" | "right" })
| 848 | } |
| 849 | |
| 850 | function 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 | |
| 868 | function SplitDiffCellView({ cell, side }: { cell: SplitDiffCell; side: "left" | "right" }) { |
| 869 | const bg = |
nothing calls this directly
no outgoing calls
no test coverage detected