bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/container.jsx
Oleksandr Zhurbenko f7d1ff0df2 Text shape and bug fixes
Restructured code, fixed a bug with thickness icon not displayed when switching from Text tool, added textshape container
2017-06-16 19:32:41 -07:00

22 lines
559 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(() => ({
actions: WhiteboardToolbarService.actions,
textShapeActiveId: WhiteboardToolbarService.getTextShapeActiveId(),
}), WhiteboardToolbarContainer);