title: update body style from click event in component in React
body: <p>I have a component with a button which has a clickEvent.  I wan't to add an inline style to the html body tag when this button is clicked.  I want to remove the style when the button is clicked again.  I have the methods already to handle state changes for click event.  I just need to know the correct "react" way to update the style on the body tag to add/remove overflow-y: hidden</p>
  
  <pre><code>handleConfigurationDrawerToggle() {
      this.setState(prevState =&gt; ({
          configurationDrawerOpen: !prevState.configurationDrawerOpen
      }))
  }
  
  &lt;div 
      className={configurationDrawerModalClasses}
      onClick={this.handleConfigurationDrawerToggle} /&gt;
  </code></pre>