@@ -26,14 +26,14 @@ import { MetricCard } from "@tailor-platform/app-shell";
2626
2727## Props
2828
29- | Prop | Type | Default | Description |
30- | ------------- | ----------------------------------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------- |
31- | ` title ` | ` string ` | ** Required** | Short title / header (e.g. "Net total", "Revenue") |
32- | ` value ` | ` React.ReactNode ` | ** Required** | Main value (string, number, or custom content) |
33- | ` trend ` | ` { direction: "up" \| "down" \| "neutral"; value: string } ` | - | Optional trend (e.g. "+12%", "-5%", "0%") |
34- | ` description ` | ` string ` | - | Optional supplementary text (e.g. "vs last month", "this week"). Empty strings are treated as absent and not rendered. |
35- | ` icon ` | ` React.ReactNode ` | - | Optional icon in the title row |
36- | ` className ` | ` string ` | - | Additional CSS classes for the card root |
29+ | Prop | Type | Default | Description |
30+ | ------------- | ----------------------------------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------- |
31+ | ` title ` | ` string ` | ** Required** | Short title / header (e.g. "Net total", "Revenue") |
32+ | ` value ` | ` React.ReactNode ` | ** Required** | Main value (string, number, or custom content) |
33+ | ` trend ` | ` { direction: "up" \| "down" \| "neutral"; value: string } ` | - | Optional trend (e.g. "+12%", "-5%", "0%") |
34+ | ` description ` | ` string ` | - | Optional supplementary text (e.g. "vs last month", "this week"). Empty strings are treated as absent and not rendered. |
35+ | ` icon ` | ` React.ReactNode ` | - | Optional icon in the title row |
36+ | ` className ` | ` string ` | - | Additional CSS classes for the card root |
3737
3838## Trend Directions
3939
0 commit comments