@ckeditor/ckeditor5-react
Version:
Official React component for CKEditor 5 – the best browser-based rich text editor.
12 lines (11 loc) • 450 B
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
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>;