From 7507d0d7e15ef807203a0a48b346cec457122bff Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 9 May 2019 14:58:13 +0200 Subject: [PATCH] complete proptypes --- src/components/views/rooms/Autocomplete.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/views/rooms/Autocomplete.js b/src/components/views/rooms/Autocomplete.js index 253e2b411a..a19a4eaad0 100644 --- a/src/components/views/rooms/Autocomplete.js +++ b/src/components/views/rooms/Autocomplete.js @@ -303,6 +303,9 @@ Autocomplete.propTypes = { // method invoked with range and text content when completion is confirmed onConfirm: PropTypes.func.isRequired, + // method invoked when selected (if any) completion changes + onSelectionChange: PropTypes.func, + // The room in which we're autocompleting room: PropTypes.instanceOf(Room), };