1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

complete proptypes

This commit is contained in:
Bruno Windels
2019-05-09 14:58:13 +02:00
parent a765fdf98a
commit 7507d0d7e1

View File

@@ -303,6 +303,9 @@ Autocomplete.propTypes = {
// method invoked with range and text content when completion is confirmed // method invoked with range and text content when completion is confirmed
onConfirm: PropTypes.func.isRequired, onConfirm: PropTypes.func.isRequired,
// method invoked when selected (if any) completion changes
onSelectionChange: PropTypes.func,
// The room in which we're autocompleting // The room in which we're autocompleting
room: PropTypes.instanceOf(Room), room: PropTypes.instanceOf(Room),
}; };