app/components/message_thread/index.js
/*  GiftedChat component current options:
        user: integer to choose the current application user
        onSend: callback for the send message button
        renderAvatar: callback for rendering the avatar. {null} for no avatar.
        isAnimated: boolean to enable sliding animation when input box is tapped.
    */
GiftedChat component current options:
user: integer to choose the current application user
onSend: callback for the send message button
renderAvatar: callback for rendering the avatar. {null} for no avatar.
isAnimated: boolean to enable sliding animation when input box is tapped.
GiftedChat component current options : user : integer to choose the current application user onSend : callback for the send message button renderAvatar : callback for rendering the avatar . { null } for no avatar . isAnimated : boolean to enable sliding animation when input box is tapped .
render() {
        return(
            <GiftedChat
                messages={this.state.messages}
                onSend={messages => this.onSend(messages)}
                user= {{
                    _id: 1,
                }}
                isAnimated={true}
            />
        )
    }
render ( ) { return ( < GiftedChat messages = { this . state . messages } onSend = { messages => this . onSend ( messages ) } user = { { _id : 1 , } } isAnimated = { true } / > ) }
GiftedChat component current options:
user: integer to choose the current application user
onSend: callback for the send message button
renderAvatar: callback for rendering the avatar.
GiftedChat component current options : user : integer to choose the current application user onSend : callback for the send message button renderAvatar : callback for rendering the avatar .