summit/frontend/node_modules/@react-three/drei/helpers/useEffectfulState.d.ts

5 lines
231 B
TypeScript
Raw Normal View History

2025-12-08 16:31:30 +00:00
import * as React from 'react';
type RefType<T> = React.MutableRefObject<T> | ((state: T) => void);
export declare function useEffectfulState<T>(fn: () => T, deps?: React.DependencyList, cb?: RefType<T>): T | undefined;
export {};