Quantumbraid's picture
download
raw
459 Bytes
import{useState as i}from"react";import{useIsoMorphicEffect as s}from'./use-iso-morphic-effect.js';function f(){var t;let[e]=i(()=>typeof window!="undefined"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[o,c]=i((t=e==null?void 0:e.matches)!=null?t:!1);return s(()=>{if(!e)return;function n(r){c(r.matches)}return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[e]),o}export{f as useIsTouchDevice};

Xet Storage Details

Size:
459 Bytes
·
Xet hash:
78f9729ad1846d99d23ac5e075abc1fa05cc0a6d41fc78b9db5bde4b19c624b3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.