import React from 'react';
import { useChartHeight, useChartWidth } from 'recharts';
import { useEventDispatch } from '../components/useEventDispatch.js';
const Inspector = () => {
    const chartWidth = useChartWidth();
    const chartHeight = useChartHeight();
    useEventDispatch({ useChartWidth: chartWidth, useChartHeight: chartHeight });
    return (React.createElement("div", null,
        React.createElement("div", null,
            "useChartWidth: ",
            chartWidth),
        React.createElement("div", null,
            "useChartHeight: ",
            chartHeight)));
};
export const ChartDimensionInspector = {
    Inspector,
};
