import { Check, Minus } from "lucide-react";
// The ONE drawn check of a checkable row that cannot hold the browser's own checkbox (A6) — a menu
// row, or a whole-row button whose `role` says checkbox: an ` ` inside a `` is invalid
// nesting. It sits in the row's leading icon slot, so every label in a list starts at the same x.
// - `many`: one of a set that can all be on (tags, playlists, a filter's values) — a box, filled
// with the accent when on; `mixed` for a group only partly in (a Plex show's episodes).
// - `one`: one choice of several (a language, a sort, a priority step) — a bare tick; an unticked
// choice keeps the slot empty.
// Decorative: the row carries the state (`aria-checked` on its menuitemcheckbox / radio / checkbox).
export function MenuCheck({ kind, on }: { kind: "many" | "one"; on: boolean | "mixed" }) {
if (kind === "one")
return (
);
return (
{on === "mixed" ? : on && }
);
}