"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react"),a=require("./useWindowKeyPress.js");function c(u){const[t,e]=s.useState(!1),r=a.useWindowKeyPress("Tab");return s.useEffect(()=>{u.current===document.activeElement?e(!0):e(!1)},[r]),{hasFocus:t,setHasFocus:e}}exports.useHasFocus=c;
