Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
'use client';
'use strict';
var React = require('react');
var useThrottledCallback = require('../use-throttled-callback/use-throttled-callback.cjs');
function useThrottledState(defaultValue, wait) {
const [value, setValue] = React.useState(defaultValue);
const [setThrottledValue, clearTimeout] = useThrottledCallback.useThrottledCallbackWithClearTimeout(setValue, wait);
React.useEffect(() => clearTimeout, []);
return [value, setThrottledValue];
}
exports.useThrottledState = useThrottledState;
//# sourceMappingURL=use-throttled-state.cjs.map