2017-06-04 10:40:14 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
2016-12-08 23:40:11 +08:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-16 23:37:17 +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);
|