bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/about/container.jsx
2016-12-08 15:59:52 +00:00

30 lines
637 B
JavaScript

import React, { Component, PropTypes } from 'react';
import { createContainer } from 'meteor/react-meteor-data';
import AboutComponent from './component';
class AboutContainer extends Component {
constructor(props) {
super(props);
}
render() {
return (
<AboutComponent {...this.props}>
{this.props.children}
</AboutComponent>
);
}
}
const getClientBuildInfo = () => {
return {
clientBuild: Meteor.settings.public.app.html5ClientBuild,
copyright: Meteor.settings.public.app.copyright,
};
};
export default createContainer(() => {
return getClientBuildInfo();
}, AboutContainer);