bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/actions-bar/container.jsx
2016-11-07 10:19:00 -08:00

25 lines
522 B
JavaScript
Executable File

import React, { Component, PropTypes } from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import ActionsBar from './component';
import Service from './service';
class ActionsBarContainer extends Component {
constructor(props) {
super(props);
}
render() {
return (
<ActionsBar {...this.props}>
{this.props.children}
</ActionsBar>
);
}
}
export default createContainer(() => {
let data = Service.isUserPresenter();
return data;
}, ActionsBarContainer);