import React, { Component } from "react"; import Card from "@mui/material/Card"; import { Typography } from "@mui/material"; import dynamic from "next/dynamic"; const Chart = dynamic(() => import("react-apexcharts"), { ssr: false, }); class SimpleDonut extends Component { constructor(props) { super(props); this.state = { series: [44, 55, 41, 17, 15], options: { chart: { type: "donut", }, responsive: [ { breakpoint: 480, options: { chart: { width: 200, }, legend: { position: "bottom", }, }, }, ], }, }; } render() { return ( <> Simple Donut ); } } export default SimpleDonut;