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