import React, { useRef } from "react" import BoxFull from "./BoxFull" import ChartComponent from "react-chartjs-2" import Loading from "./Loading" export default function BoxChart({chartProps, ...props}) { const getCssVar = (variable) => { const computedStyle = window.getComputedStyle(document.querySelector("main")) return computedStyle.getPropertyValue(variable).trim() } return ( ) }