mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 12:20:20 +01:00
5 lines
146 B
TypeScript
5 lines
146 B
TypeScript
import { useMemo } from "react";
|
|
|
|
export const useFinePointer = (): boolean =>
|
|
useMemo(() => window.matchMedia("(pointer: fine)").matches, []);
|