"use strict";const f=require("./jsx-runtime-CITbqOLs.cjs"),x=require("./main-DCvw0wt3.cjs"),a=({value:n,onClick:o,onChange:e,checkedVariant:s="filled",uncheckedVariant:i,rightClickToggle:r=!1,...u})=>f.jsxRuntimeExports.jsx(x.Button,{onClick:t=>{o?.(t),!r&&e(!n)},onContextMenu:t=>{r&&(t.preventDefault(),t.stopPropagation(),e(!n))},variant:n?s:i,...u});exports.Toggle=a;
