import{useState as o,useCallback as r}from"react";function t(t){void 0===t&&(t=!1);var[e,f]=o(t);return[e,{on:r((()=>{f(!0)}),[]),off:r((()=>{f(!1)}),[]),toggle:r((()=>{f((o=>!o))}),[])}]}export{t as useBoolean};
//# sourceMappingURL=use-boolean.js.map
