analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
18 lines • 663 B
TypeScript
/**
* Props for the chatbot text input
*/
export interface ChatbotInputProps {
onSend: (text: string) => void;
disabled?: boolean;
placeholder?: string;
className?: string;
}
/**
* Auto-resizing textarea + send button. Enter sends, Shift+Enter creates a
* new line, as is standard for chat UIs.
*
* Uses the library's `<TextArea>` component (design-system compliant)
* with its built-in `autoResize` — no manual DOM height manipulation.
*/
export default function ChatbotInput({ onSend, disabled, placeholder, className, }: Readonly<ChatbotInputProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChatbotInput.d.ts.map