@matthew.ngo/react-filter-pilot
Version:
Powerful filtering, pagination, and sorting for React with TanStack Query integration
3 lines • 427 B
JavaScript
;/* @matthew.ngo/react-filter-pilot - MIT License */
var c=Object.defineProperty;var t=(n,l)=>c(n,"name",{value:l,configurable:true});function i(n,l){let e=null;const u=t((...o)=>{e&&clearTimeout(e),e=setTimeout(()=>{n(...o),e=null;},l);},"debounced");return u.cancel=()=>{e&&(clearTimeout(e),e=null);},u}t(i,"debounce");exports.debounce=i;//# sourceMappingURL=debounce.cjs.map
//# sourceMappingURL=debounce.cjs.map