Material UI in React #3 — Styles — adding global theme and overriding default styles
<p>Go back to your IDE and within the <code>src/components/common</code> add CommonButton folder, inside of it add the file with tha same name. Mock functional component using <code>rafce</code> shortcut, paste the import button line and you should end up with something like this:</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*nTypXeZJfYq8tQ8DmCyMVw.png" style="height:263px; width:700px" /></p>
<p>If you look at the example dashboard that we would like to recreate (screen just below). You will quickly find that we can reuse CommonButton at least two times only on the authentication page ( <code>Add user</code> & <code>Web setup</code> buttons).</p>
<p><a href="https://the-atypical-developer.medium.com/material-ui-in-react-3-styles-adding-global-theme-and-overriding-default-styles-f9a9f014cbd1"><strong>Click Here</strong></a></p>