Skip to main content

Variable: HistoryChart

const HistoryChart: NamedExoticComponent<HistoryChartProps>

Defined in: src/components/common/HistoryChart.tsx:47

Reusable history chart component for visualizing status history. Can be used anywhere we need to show historical data.

Features:

  • Responsive layout using CSS
  • Memoized to prevent unnecessary re-renders
  • Configurable item limit
  • Graceful handling of empty data

Paramโ€‹

HistoryChart component props

Returnsโ€‹

JSX element containing the history chart, or null if no data (following React conventions for conditional rendering)