aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsSimulationBox.tsx
diff options
context:
space:
mode:
authorbrynnchernosky <56202540+brynnchernosky@users.noreply.github.com>2023-01-26 22:15:06 -0500
committerbrynnchernosky <56202540+brynnchernosky@users.noreply.github.com>2023-01-26 22:15:06 -0500
commita555303c34ec2ac79084100bdf21f9d88dba86b1 (patch)
tree632587a83d856b0c13a142818193945db4de5787 /src/client/views/nodes/PhysicsSimulationBox.tsx
parentc9be6d566851c90cd6050e16ef19fddb87ccc778 (diff)
add option to colon menu
Diffstat (limited to 'src/client/views/nodes/PhysicsSimulationBox.tsx')
-rw-r--r--src/client/views/nodes/PhysicsSimulationBox.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/nodes/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsSimulationBox.tsx
index b62caf926..568a5b40c 100644
--- a/src/client/views/nodes/PhysicsSimulationBox.tsx
+++ b/src/client/views/nodes/PhysicsSimulationBox.tsx
@@ -1,8 +1,10 @@
import "./PhysicsSimulationBox.scss";
import { FieldView, FieldViewProps } from './FieldView';
import React = require('react');
-
-export default class PhysicsSimulationBox extends React.Component<FieldViewProps> {
+import { ViewBoxAnnotatableComponent } from '../DocComponent';
+import { observer } from 'mobx-react';
+@observer
+export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
public static LayoutString(fieldKey: string) { return FieldView.LayoutString(PhysicsSimulationBox, fieldKey); }
render () { return (<p>Hello world!</p>)}