UNPKG

@sitecore/sc-contenthub-blok

Version:

A UI library for [Sitecore Content Hub](https://doc.sitecore.com/ch/).

8 lines (7 loc) 268 B
import { RefObject } from "react"; /** * Returns a RefObject to check if the component is mounted. * @returns An object with readonly current property to check the mounted state. */ declare const useIsMounted: () => RefObject<boolean>; export default useIsMounted;