I've been experimenting with creating a button using SVG, but unfortunately, it seems that SVG is not supported on Next.js & Material UI. Below you'll find the code snippet and screenshot I have been working with.
Any help or guidance would be greatly appreciated!
https://i.stack.imgur.com/c5OrR.png
span.button__publish {
margin-left: 45px;
position: relative;
}
.button__publish button {
width: 137px;
height: 37.3px;
border-radius: 4px;
background-color: #8ae38c;
}
*emphasized text*
<span class="button__publish">
<button class="MuiButtonBase-root MuiButton-root MuiButton-text publish MuiButton-textPrimary" tabindex="0" type="button">
<span class="MuiButton-label">Publish</span>
</button>
</span>