@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
14 lines (13 loc) • 461 B
TypeScript
/// <reference types="react" />
import type { ChatInputActionItem } from '../type';
interface UseDisplayActionCountOptions {
autoCollapse?: boolean;
collapseOffset?: number;
items?: ChatInputActionItem[];
}
export declare const useDisplayActionCount: ({ items, collapseOffset, autoCollapse, }?: UseDisplayActionCountOptions) => {
collapsed: boolean;
maxCount: number;
ref: import("react").RefObject<HTMLDivElement | null>;
};
export {};