amis-rpc-design/node_modules/rc-mentions/es/hooks/useEffectState.d.ts

6 lines
154 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export type Trigger = (callback?: VoidFunction) => void;
/**
* Trigger a callback on state change
*/
export default function useEffectState(): Trigger;