UNPKG

@automattic/agenttic-ui

Version:

UI components for the Agenttic framework

25 lines 1.12 kB
import React from 'react'; import type { NoticeConfig, Suggestion } from '../../types'; import { type ActionButton } from './ChatInput'; interface ChatFooterProps { inputValue: string; onInputChange: (value: string) => void; onSubmit: () => void; onKeyDown: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void; textareaRef: React.RefObject<HTMLTextAreaElement>; placeholder?: string | string[]; isProcessing: boolean; onStop?: () => void; fromCompact?: boolean; onExpand?: () => void; disabled?: boolean; notice?: NoticeConfig; suggestions?: Suggestion[]; clearSuggestions?: () => void; focusOnMount?: boolean; customActions?: ActionButton[]; actionOrder?: 'before-submit' | 'after-submit'; } export declare function ChatFooter({ inputValue, onInputChange, onSubmit, onKeyDown, textareaRef, placeholder, isProcessing, onStop, fromCompact, onExpand, disabled, notice, suggestions, clearSuggestions, focusOnMount, customActions, actionOrder, }: ChatFooterProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=ChatFooter.d.ts.map