Skip to content

Commit

Permalink
fix(message-list): disableOnYReachWhenNoScroll property type
Browse files Browse the repository at this point in the history
  • Loading branch information
supersnager committed Apr 19, 2021
1 parent 941219d commit caeeead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MessageList/MessageList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ MessageList.propTypes = {
* when the list is not scrollable.
* This is set to false by default for backward compatibility.
*/
disableOnYReachWhenNoScroll: PropTypes.func,
disableOnYReachWhenNoScroll: PropTypes.bool,

/**
* Auto scroll to bottom
Expand Down

0 comments on commit caeeead

Please sign in to comment.