@lexical/react
Version:
This package provides Lexical components and hooks for React applications.
15 lines (14 loc) • 555 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import type { JSX } from 'react';
import { ErrorBoundaryType } from './shared/useDecorators';
export declare function PlainTextPlugin({ contentEditable, placeholder, ErrorBoundary, }: {
contentEditable: JSX.Element;
placeholder?: ((isEditable: boolean) => null | JSX.Element) | null | JSX.Element;
ErrorBoundary: ErrorBoundaryType;
}): JSX.Element;