Skip to content

Instantly share code, notes, and snippets.

@vutran
Last active September 12, 2017 14:07
Show Gist options
  • Save vutran/7eaf50200ad69b6482357deb66ff4f4e to your computer and use it in GitHub Desktop.
Save vutran/7eaf50200ad69b6482357deb66ff4f4e to your computer and use it in GitHub Desktop.
Omnibar - Custom Extensions
import Omnibar from 'omnibar';
import EchoExtension from './EchoExtension';
import GitHubSearchExtension from './GitHubSearchExtension';
import NpmSearchExtension from './NpmSearchExtension';
class App extends React.Component {
render() {
return (
<Omnibar
extensions={[
EchoExtension,
GitHubSearchExtension,
NpmSearchExtension,
]} />
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment