PromoCursed/node_modules/rc-mentions/lib/hooks/useEffectState.d.ts

6 lines
154 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
export type Trigger = (callback?: VoidFunction) => void;
/**
* Trigger a callback on state change
*/
export default function useEffectState(): Trigger;