add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

12
node_modules/rc-overflow/lib/hooks/useEffectState.d.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
type Updater<T> = T | ((origin: T) => T);
type UpdateCallbackFunc = VoidFunction;
type NotifyEffectUpdate = (callback: UpdateCallbackFunc) => void;
/**
* Batcher for record any `useEffectState` need update.
*/
export declare function useBatcher(): NotifyEffectUpdate;
/**
* Trigger state update by `useLayoutEffect` to save perf.
*/
export default function useEffectState<T extends string | number | object>(notifyEffectUpdate: NotifyEffectUpdate, defaultValue?: T): [T, (value: Updater<T>) => void];
export {};