import type { SVGProps } from "react"; type Props = Omit, "stroke"> & { size?: number; stroke?: number }; type Shape = "open" | "status" | "draft" | "merged" | "closed"; // Drawn on a 20px grid to match Codex's branch layout and node sizes. // The status dot replaces the right node; it is not an external badge. function PrGlyph({ shape, size = 15, stroke: _stroke, ...props }: Props & { shape: Shape }) { return {shape === "merged" ? <> : shape === "draft" ? <> : shape === "closed" ? <> : <> {shape === "status" ? : } } ; } export function PrOpenIcon(props: Props) { return ; } export function PrStatusIcon(props: Props) { return ; } export function PrDraftIcon(props: Props) { return ; } export function PrMergedIcon(props: Props) { return ; } export function PrClosedIcon(props: Props) { return ; }