idimetrix/use-idle-detect
`useIdle` is a React hook that detects user inactivity using a customizable timeout. It supports event tracking (e.g., mouse, keyboard) and the Idle Detection API if available, with optional callbacks for idle and active states.
正在读取项目信息…