@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
20 lines (19 loc) • 535 B
TypeScript
import type { BlockProps } from '@lobehub/ui';
import type { CSSProperties, ReactNode } from 'react';
export interface FloatMenuProps {
children?: ReactNode;
className?: string;
classNames?: {
container?: string;
root?: string;
};
containerProps?: Omit<BlockProps, 'children'>;
getPopupContainer: () => HTMLDivElement | null;
maxHeight?: string | number;
open?: boolean;
style?: CSSProperties;
styles?: {
container?: CSSProperties;
root?: CSSProperties;
};
}