bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/container.jsx
2017-04-21 11:01:52 -07:00

22 lines
564 B
JavaScript
Executable File

import React from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import WhiteboardToolbarService from './service';
import WhiteboardToolbar from './component';
class WhiteboardToolbarContainer extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
<WhiteboardToolbar {...this.props}/>
);
}
}
export default createContainer(() => ({
undoAnnotation: WhiteboardToolbarService.undoAnnotation,
clearWhiteboard: WhiteboardToolbarService.clearWhiteboard,
}), WhiteboardToolbarContainer);