import { observer } from "mobx-react";
import { SelectionManager } from "../util/SelectionManager";
import './ComponentDecorations.scss';
import React = require("react");

@observer
export class ComponentDecorations extends React.Component {
    static Instance: ComponentDecorations;

    render() {
        const seldoc = SelectionManager.Views().lastElement();
        return seldoc?.ComponentView?.componentUI?.() ?? (null);
    }
}