@ckeditor/ckeditor5-react
Version:
Official React component for CKEditor 5 – the best browser-based rich text editor.
13 lines (12 loc) • 448 B
TypeScript
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
import { type DependencyList } from 'react';
/**
* Triggers an effect immediately if the dependencies change (during rendering of component).
*
* @param fn The effect function to execute.
* @param deps The dependency list.
*/
export declare const useInstantEffect: (fn: VoidFunction, deps: DependencyList) => void;