bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/about/container.jsx
2017-10-10 10:06:34 -03:00

20 lines
492 B
JavaScript

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