7 lines
212 B
TypeScript
7 lines
212 B
TypeScript
/**
|
|
* Hook which asynchronously executes a callback once the component has been mounted.
|
|
*
|
|
* @param callback - Function to call before mount.
|
|
*/
|
|
export declare const useMount: (callback: () => void) => void;
|