+
@@ -151,6 +194,7 @@ Conversation.propTypes = {
delay: PropTypes.number,
height: PropTypes.number,
turnOffLoop: PropTypes.bool,
+ isScrollable: PropTypes.bool,
messages: PropTypes.arrayOf(
PropTypes.shape({
message: PropTypes.string,
diff --git a/src/stories/chat.js b/src/stories/chat.js
index 3cc3080..ff5a298 100644
--- a/src/stories/chat.js
+++ b/src/stories/chat.js
@@ -70,12 +70,12 @@ storiesOf('Chat', module)
);
})
-.add('Ch2at configured styles and ends at the last message and allows the user to add messages', () => {
+.add('Chat configured styles and ends at the last message and allows the user to add and scroll messages', () => {
const messagesForConversation = [
{
type: 'typing',
duration: 500,
- inbound: true
+ inbound: true,
},
{
message: 'Press enter to write a message',
@@ -93,7 +93,7 @@ storiesOf('Chat', module)
];
return (
-
+
);
});