import { Button, ControlGroup } from '@blueprintjs/core'; import { observer } from 'mobx-react'; import * as React from 'react'; import { AppState } from '../state'; import { AddressBar } from './commands-address-bar'; import { BisectHandler } from './commands-bisect'; import { EditorDropdown } from './commands-editors'; import { GistActionButton } from './commands-action-button'; import { Runner } from './commands-runner'; import { VersionChooser } from './commands-version-chooser'; interface CommandsProps { appState: AppState; } /** * The command bar, containing all the buttons doing * all the things * * @class Commands * @extends {React.Component} */ @observer export class Commands extends React.Component { constructor(props: CommandsProps) { super(props); } public render() { const { appState } = this.props; const { isBisectCommandShowing: isBisectCommandShowing } = appState; return (
{isBisectCommandShowing && ( )}
); } }