Skip to content

Instantly share code, notes, and snippets.

@vutran
Created September 12, 2017 13:59
Show Gist options
  • Save vutran/50b573696a9d25ff842a5150886b57bd to your computer and use it in GitHub Desktop.
Save vutran/50b573696a9d25ff842a5150886b57bd to your computer and use it in GitHub Desktop.
Omnibar - Voice Commands
import Omnibar from 'omnibar';
import { withVoice } from 'omnibar';
const VoiceOmnibar = withVoice(Omnibar);
class App extends React.Component {
render() {
return (
<VoiceOmnibar
extensions={[
EchoExtension,
GitHubSearchExtensions,
]} />
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment