mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
complete proptypes
This commit is contained in:
parent
a765fdf98a
commit
7507d0d7e1
@ -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),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user