bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/about/container.jsx

20 lines
492 B
React
Raw Normal View History

2017-10-06 20:50:01 +08:00
import React from 'react';
2016-12-08 23:40:11 +08:00
import { createContainer } from 'meteor/react-meteor-data';
import AboutComponent from './component';
2017-10-06 20:50:01 +08:00
const AboutContainer = props => (
<AboutComponent {...props}>
{props.children}
</AboutComponent>
);
2016-12-08 23:40:11 +08:00
const getClientBuildInfo = function () {
2016-12-08 23:40:11 +08:00
return {
clientBuild: Meteor.settings.public.app.html5ClientBuild,
copyright: Meteor.settings.public.app.copyright,
};
};
2017-06-03 03:25:02 +08:00
export default createContainer(() => getClientBuildInfo(), AboutContainer);