@ckeditor/ckeditor5-react
Version:
Official React component for CKEditor 5 – the best browser-based rich text editor.
12 lines (11 loc) • 394 B
TypeScript
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
import { type MutableRefObject } from 'react';
/**
* Custom hook that returns a mutable ref object indicating whether the component is mounted or not.
*
* @returns The mutable ref object.
*/
export declare const useIsMountedRef: () => MutableRefObject<boolean>;