blob: 66f81fe4f23386afe7bf76d0d6178ab861964b11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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);
}
}
|