aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/RecordingBox/RecordingBox.tsx
blob: 6d444d32474801ed725422b680448daabad46934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { observer } from "mobx-react";
import * as React from "react";
import { ViewBoxBaseComponent } from "../../DocComponent";
import { FieldView } from "../FieldView";
import { RecordingView } from './RecordingView';


@observer
export class RecordingBox extends ViewBoxBaseComponent(){

    public static LayoutString(fieldKey: string) { return FieldView.LayoutString(RecordingBox, fieldKey); }

    private _ref: React.RefObject<HTMLDivElement> = React.createRef();

    constructor(props: any) {
        super(props);
    }

    render() {
        return <div className="recordingBox" ref={this._ref}>
            <RecordingView/>
        </div>;
    }
}