Skip to content

Commit 85eba63

Browse files
committed
docs(MetricCard): format props table
Made-with: Cursor
1 parent b0099e4 commit 85eba63

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/components/metric-card.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)