@ckeditor/ckeditor5-react
Version:
Official React component for CKEditor 5 – the best browser-based rich text editor.
11 lines (10 loc) • 576 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 { DependencyList } from 'react';
import type { LifeCycleElementSemaphore } from '../lifecycle/LifeCycleElementSemaphore.js';
/**
* `useEffect` alternative but executed after mounting of editor.
*/
export declare const useInstantEditorEffect: <R>(semaphore: Pick<LifeCycleElementSemaphore<R>, "runAfterMount"> | null, fn: (mountResult: R) => void, deps: DependencyList) => void;