UNPKG

@matthew.ngo/react-filter-pilot

Version:

Powerful filtering, pagination, and sorting for React with TanStack Query integration

3 lines 371 B
import {a}from'../chunk-KDVV4H2M.js';/* @matthew.ngo/react-filter-pilot - MIT License */ function c(t,u){let e=null;const l=a((...o)=>{e&&clearTimeout(e),e=setTimeout(()=>{t(...o),e=null;},u);},"debounced");return l.cancel=()=>{e&&(clearTimeout(e),e=null);},l}a(c,"debounce");export{c as debounce};//# sourceMappingURL=debounce.js.map //# sourceMappingURL=debounce.js.map