import { observer } from "mobx-react" ; import * as React from "react" ; import SelectedElementInfo from "./SelectedElementInfo" ; import TopBarMenu from "./TopBarMenu" ; @ observer export default class TopBar extends React . Component < Record < string , unknown > , any > { public render ( ) { return ( < div id = "app-topbar" className = "top-bar" > < TopBarMenu /> < SelectedElementInfo / > < /div>); } }