Last active
April 21, 2017 06:42
-
-
Save nathanclark/79c979526d9497d750d59de1aaccf109 to your computer and use it in GitHub Desktop.
Body.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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