diff --git a/src/GiftedChat.tsx b/src/GiftedChat.tsx index d26009576..7123e1627 100644 --- a/src/GiftedChat.tsx +++ b/src/GiftedChat.tsx @@ -49,6 +49,10 @@ export interface GiftedChatProps { messages?: TMessage[] /* Input text; default is undefined, but if specified, it will override GiftedChat's internal state */ text?: string + /* Controls whether or not the message bubbles appear at the top of the chat */ + alignTop?: boolean; + /* enables the scrollToBottom Component */ + scrollToBottom?: boolean; initialText?: string /* Placeholder when text is empty; default is 'Type a message...' */ placeholder?: string