bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/about/container.jsx
2017-06-05 13:52:46 +00:00

29 lines
654 B
JavaScript
Executable File

import React, { Component } from 'react';
import PropTypes from 'prop-types';
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 = function () {
return {
clientBuild: Meteor.settings.public.app.html5ClientBuild,
copyright: Meteor.settings.public.app.copyright,
};
};
export default createContainer(() => getClientBuildInfo(), AboutContainer);