UNPKG

@innovaccer/design-system

Version:

React components library project for Innovaccer Design System

20 lines (19 loc) 894 B
import React from 'react'; import { BaseProps } from "../../../../utils/types"; export interface ChatInputProps extends BaseProps { placeholder?: string; defaultValue?: string; disabled?: boolean; readOnly?: boolean; showStopButton?: boolean; actionRenderer?: () => JSX.Element; onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void; onClick?: (e: React.MouseEvent<HTMLTextAreaElement>) => void; onBlur?: (e: React.FocusEvent<HTMLTextAreaElement>) => void; onFocus?: (e: React.FocusEvent<HTMLTextAreaElement>) => void; onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void; onSend?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>, value?: string) => void; onStopGenerating?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; } declare const ChatInput: React.FC<ChatInputProps>; export default ChatInput;