Skip to content

Instantly share code, notes, and snippets.

@nathanclark
Last active April 21, 2017 06:42
Show Gist options
  • Save nathanclark/79c979526d9497d750d59de1aaccf109 to your computer and use it in GitHub Desktop.
Save nathanclark/79c979526d9497d750d59de1aaccf109 to your computer and use it in GitHub Desktop.
Body.jsx
import { Components, getSetting, registerComponent } from 'meteor/vulcan:lib';
import React, { PropTypes, Component } from 'react';
class Body extends Component {
constructor(props) {
super(props);
}
componentWillMount() {
document.getElementById('body').className="page-header-fixed page-sidebar-closed-hide-logo page-content-white"
}
render() {
return false;
}
}
registerComponent('Body', Body);
export default Body;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment