UNPKG

deep-chat

Version:

Customizable chat component for AI APIs

24 lines 549 B
import { CustomStyle } from './styles'; export interface TextInputStyles { text?: CustomStyle; container?: CustomStyle; focus?: CustomStyle; } export interface Placeholder { text?: string; style?: CustomStyle; } export interface TextInput { styles?: TextInputStyles; characterLimit?: number; placeholder?: Placeholder; disabled?: boolean; } export type OnInput = (body: { content: { text?: string; files?: File[]; }; isUser: boolean; }) => void; //# sourceMappingURL=textInput.d.ts.map