Skip to content

Instantly share code, notes, and snippets.

@vutran
Created September 12, 2017 13:57
Show Gist options
  • Save vutran/bce71df026bac3b4158879db215ee330 to your computer and use it in GitHub Desktop.
Save vutran/bce71df026bac3b4158879db215ee330 to your computer and use it in GitHub Desktop.
Omnibar - Custom Filters
import { command } from 'omnibar';
import GitHubSearchExtension from './GitHubSearchExtension';
const GHExtension = command(GitHubSearchExtension, 'gh');
class App extends React.Component {
render() {
return (
<Omnibar extensions={[GHExtension]} />
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment