import "./index.css"; import PropTypes from "prop-types"; import { BarChart, Bar, ResponsiveContainer, Cell } from "recharts"; import { NormalizeData } from "../ChartUtils"; const ResponseTimeChart = ({ checks = [] }) => { const normalizedChecks = NormalizeData(checks, 1, 100); return (
{normalizedChecks.map((check, index) => ( ))}
); }; ResponseTimeChart.propTypes = { checks: PropTypes.array, }; export default ResponseTimeChart;