Skip to content
Permalink
Browse files

Update GiftedChat.tsx (#1333)

  • Loading branch information...
r1ckyrockz authored and xcarpentier committed Jul 25, 2019
1 parent 6179969 commit 51aada7010106cfd5e821f9f8cf644eaf896ac85
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/GiftedChat.tsx
@@ -49,6 +49,10 @@ export interface GiftedChatProps<TMessage extends IMessage = IMessage> {
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

0 comments on commit 51aada7

Please sign in to comment.
You can’t perform that action at this time.