title: Divider color change React Material Ui
body: <p>I'm working with the divider component of the material ui framework and am stuck with the color changing aspect. With most other components from this framework I've been able to change the color by applying the useStyles() method as such: </p>
  
  <pre><code>const useStyles = makeStyles(theme =&gt; ({
      textPadding: {
        paddingTop: 10,
        paddingBottom: 10,
        color:'white',
      },
  }));
  </code></pre>
  
  <p>But I'm not able to change the color of the dividers using the same approach: </p>
  
  <pre><code>const useStyles = makeStyles(theme =&gt; ({
  dividerColor: {
    backgroundColor: 'white',
  },
  }));
  </code></pre>
  
  <p>I of-course then apply it to the component:</p>
  
  <pre><code>&lt;Divider classname={classes.dividerColor}&gt;&lt;/Divider&gt;
  </code></pre>
  
  <p>I looked up the docs for it but can't figure out what I've done wrong. Could someone give me a helping hand? </p>