Accepted answer
import React from "react";
import { create } from "jss";
import { StylesProvider, jssPreset } from "@material-ui/core/styles";
import Button from "@material-ui/core/Button";

const jss = create({
  // Define a custom insertion point that JSS will look for when injecting the styles into the DOM.
  insertionPoint: document.getElementById("custom-jss-insertion-point")

export default function App() {
  return (
    <StylesProvider jss={jss}>
      <div className="App">
        <Button variant="contained" color="primary">

Related Query

More Query from same tag