mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00

Co-authored-by: Stéphane Escandell <stephane.escandell@sociabble.com> Co-authored-by: Bob Ippolito <bob@redivi.com>
25 lines
662 B
Plaintext
25 lines
662 B
Plaintext
/**
|
|
* 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 * as React from 'react';
|
|
|
|
type Props = $ReadOnly<{
|
|
anchorElem?: ?HTMLElement,
|
|
menuRef: React.RefObject<?HTMLElement>,
|
|
targetLineRef: React.RefObject<?HTMLElement>,
|
|
menuComponent: React.Node,
|
|
targetLineComponent: React.Node,
|
|
isOnMenu: (element: HTMLElement) => boolean,
|
|
onElementChanged?: (element: HTMLElement | null) => void
|
|
}>;
|
|
|
|
declare export function DraggableBlockPlugin_EXPERIMENTAL(
|
|
props: Props,
|
|
): React.MixedElement;
|