React components
Product performance
A card displaying an area chart and a bar chart.
Overview
The ProductPerformance component is a dashboard widget that stacks a small area chart (imported as SVG) and a BarChart to show performance metrics.
Usage
import { ProductPerformance } from '@/components/core/features/product-performance';
function Dashboard() {
return <ProductPerformance />;
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
data? | BarChartData[] | defaultData | Data for the bottom bar chart. |
className? | string | - | Optional CSS class names. |