bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-overlay/container.jsx

22 lines
574 B
JavaScript
Executable File

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import WhiteboardOverlayService from './service';
import WhiteboardOverlay from './component';
class WhiteboardOverlayContainer extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<WhiteboardOverlay {...this.props}/>
);
}
}
export default createContainer(() => ({
sendAnnotation: WhiteboardOverlayService.sendAnnotation,
drawSettings: WhiteboardOverlayService.getWhiteboardToolbarValues(),
}), WhiteboardOverlayContainer);