import{r as e}from"./index-aa25c5ff.js";const r=(a=!1)=>{const[s,t]=e.useState(a),o=e.useCallback(()=>t(!0),[]),l=e.useCallback(()=>t(!1),[]),c=e.useCallback(()=>t(!s),[s]);return{isOpen:s,toggleOpen:c,show:o,hide:l}};export{r as u};
