UNPKG

@qte/react-native-gifted-chat

Version:

Performant fork of react-native-gifted-chat with FlashList support

21 lines (20 loc) 864 B
import React from 'react'; import { TextInputProps } from 'react-native'; export interface ComposerProps { composerHeight?: number; text?: string; placeholder?: string; placeholderTextColor?: string; textInputProps?: Partial<TextInputProps>; textInputStyle?: TextInputProps['style']; textInputAutoFocus?: boolean; keyboardAppearance?: TextInputProps['keyboardAppearance']; multiline?: boolean; disableComposer?: boolean; onTextChanged?(text: string): void; onInputSizeChanged?(layout: { width: number; height: number; }): void; } export declare function Composer({ composerHeight, disableComposer, keyboardAppearance, multiline, onInputSizeChanged, onTextChanged, placeholder, placeholderTextColor, text, textInputAutoFocus, textInputProps, textInputStyle, }: ComposerProps): React.ReactElement;