You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
initial version of autocomplete
This commit is contained in:
7
src/autocomplete/Autocompleter.js
Normal file
7
src/autocomplete/Autocompleter.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import CommandProvider from './CommandProvider';
|
||||
|
||||
const COMPLETERS = [CommandProvider].map(completer => new completer());
|
||||
|
||||
export function getCompletions(query: String) {
|
||||
return COMPLETERS.map(completer => completer.getCompletions(query));
|
||||
}
|
||||
Reference in New Issue
Block a user