@lexical/react
Version:
This package provides Lexical components and hooks for React applications.
29 lines (25 loc) • 573 B
Flow
/**
* 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.
*
* @flow strict
*/
import type {
ElementFormatType,
LexicalEditor,
EditorThemeClasses,
LexicalNode,
NodeKey,
} from 'lexical';
type Props = $ReadOnly<{
children: React.Node,
format: ?ElementFormatType,
nodeKey: NodeKey,
className: $ReadOnly<{
base: string,
focus: string,
}>,
}>;
declare export function BlockWithAlignableContents(Props): React.Node;