0.5.14-rn add auto-size feature for inputText
·
492 commits
to master
since this release
Change Log:
add auto-size feature for inputText. refer to onSizeChange .
iOS
This version does not automatically set the default avatar. if you need set default image ,If you need to deal with the default avatar, you need to pass the native avatar path to User.avatarPath.
New Property
messageListBackgroundColor
type: string
usage:
// Android
<AndroidPtrLayout
messageListBackgroundColor={"#ffffff"}
/>
// iOS
<MessageList
messageListBackgroundColor={"ffffff"}
/>
chatInputBackgroupColor
type: string
usage:
// Android & iOS
<ChatInput
chatInputBackgroupColor={"ffffff"}
/>
maxBubbleSize
type: number. Value should be zero to one. 1 means take the phone's width
usage:
<MessageList
maxBubbleSize={0.7}
/>