6 lines
163 B
TypeScript
6 lines
163 B
TypeScript
|
|
/**
|
||
|
|
* Trigger only when component unmount
|
||
|
|
*/
|
||
|
|
declare function useUnmount(triggerStart: VoidFunction, triggerEnd: VoidFunction): void;
|
||
|
|
export default useUnmount;
|