PromoCursed/node_modules/rc-mentions/lib/hooks/useEffectState.d.ts
2024-08-20 23:25:37 +04:00

6 lines
154 B
TypeScript

export type Trigger = (callback?: VoidFunction) => void;
/**
* Trigger a callback on state change
*/
export default function useEffectState(): Trigger;