Update autocomplete design and scroll it correctly
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import Q from 'q';
|
||||
import React from 'react';
|
||||
|
||||
export default class AutocompleteProvider {
|
||||
constructor(commandRegex?: RegExp, fuseOpts?: any) {
|
||||
@@ -51,4 +52,12 @@ export default class AutocompleteProvider {
|
||||
getName(): string {
|
||||
return 'Default Provider';
|
||||
}
|
||||
|
||||
renderCompletions(completions: [React.Component]): ?React.Component {
|
||||
return (
|
||||
<div>
|
||||
{completions}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user