@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) • 479 B
TypeScript
import { type FC } from 'react';
import type { ChatInputActionItem, ChatInputActionsProps } from '../type';
interface ChatInputActionItemProps {
collapsed?: boolean;
disabled?: boolean;
gap?: string | number;
groupCollapsed?: boolean;
item: ChatInputActionItem;
onActionClick: ChatInputActionsProps['onActionClick'];
setGroupCollapsed?: (collapse: boolean) => void;
}
declare const ActionItem: FC<ChatInputActionItemProps>;
export default ActionItem;