import { Method, Support } from "@/lib/data"; function Mark({ value }: { value: Support }) { if (value === "yes") return ; if (value === "partial") return ; if (value === "unknown") return ?; return ; } export default function CapabilityRow({ method }: { method: Method }) { const allFour = method.onTheFly && method.compile === "yes" && method.peft === "yes" && method.serializable === "yes"; return (
{method.name} {allFour && ( All four )}

{method.blurb}

{method.config}
{[method.onTheFly ? "yes" : "no", method.compile, method.peft, method.serializable].map( (v, i) => (
), )}
); }