Skip to content

Commit b376898

Browse files
Copilothotlong
andcommitted
Fix icon property name from 'icon' to 'name' in all block examples
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d2a985f commit b376898

File tree

4 files changed

+58
-58
lines changed

4 files changed

+58
-58
lines changed

content/docs/blocks/dashboard.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Display key metrics with trend indicators.
3838
},
3939
{
4040
type: "icon",
41-
icon: "dollar-sign",
41+
name: "dollar-sign",
4242
className: "h-4 w-4 text-muted-foreground"
4343
}
4444
]
@@ -58,7 +58,7 @@ Display key metrics with trend indicators.
5858
children: [
5959
{
6060
type: "icon",
61-
icon: "trending-up",
61+
name: "trending-up",
6262
className: "h-3 w-3 text-green-500 mr-1"
6363
},
6464
{
@@ -92,7 +92,7 @@ Display key metrics with trend indicators.
9292
},
9393
{
9494
type: "icon",
95-
icon: "users",
95+
name: "users",
9696
className: "h-4 w-4 text-muted-foreground"
9797
}
9898
]
@@ -112,7 +112,7 @@ Display key metrics with trend indicators.
112112
children: [
113113
{
114114
type: "icon",
115-
icon: "trending-up",
115+
name: "trending-up",
116116
className: "h-3 w-3 text-green-500 mr-1"
117117
},
118118
{
@@ -146,7 +146,7 @@ Display key metrics with trend indicators.
146146
},
147147
{
148148
type: "icon",
149-
icon: "activity",
149+
name: "activity",
150150
className: "h-4 w-4 text-muted-foreground"
151151
}
152152
]
@@ -166,7 +166,7 @@ Display key metrics with trend indicators.
166166
children: [
167167
{
168168
type: "icon",
169-
icon: "trending-up",
169+
name: "trending-up",
170170
className: "h-3 w-3 text-green-500 mr-1"
171171
},
172172
{
@@ -200,7 +200,7 @@ Display key metrics with trend indicators.
200200
},
201201
{
202202
type: "icon",
203-
icon: "percent",
203+
name: "percent",
204204
className: "h-4 w-4 text-muted-foreground"
205205
}
206206
]
@@ -220,7 +220,7 @@ Display key metrics with trend indicators.
220220
children: [
221221
{
222222
type: "icon",
223-
icon: "trending-down",
223+
name: "trending-down",
224224
className: "h-3 w-3 text-red-500 mr-1"
225225
},
226226
{

content/docs/blocks/ecommerce.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Product display with image, title, price, and actions.
2626
children: [
2727
{
2828
type: "icon",
29-
icon: "package",
29+
name: "package",
3030
className: "h-24 w-24 text-muted-foreground"
3131
}
3232
]
@@ -57,27 +57,27 @@ Product display with image, title, price, and actions.
5757
children: [
5858
{
5959
type: "icon",
60-
icon: "star",
60+
name: "star",
6161
className: "h-4 w-4 fill-yellow-500 text-yellow-500"
6262
},
6363
{
6464
type: "icon",
65-
icon: "star",
65+
name: "star",
6666
className: "h-4 w-4 fill-yellow-500 text-yellow-500"
6767
},
6868
{
6969
type: "icon",
70-
icon: "star",
70+
name: "star",
7171
className: "h-4 w-4 fill-yellow-500 text-yellow-500"
7272
},
7373
{
7474
type: "icon",
75-
icon: "star",
75+
name: "star",
7676
className: "h-4 w-4 fill-yellow-500 text-yellow-500"
7777
},
7878
{
7979
type: "icon",
80-
icon: "star",
80+
name: "star",
8181
className: "h-4 w-4 text-muted"
8282
},
8383
{
@@ -127,7 +127,7 @@ Product display with image, title, price, and actions.
127127
children: [
128128
{
129129
type: "icon",
130-
icon: "heart",
130+
name: "heart",
131131
className: "h-4 w-4"
132132
}
133133
]
@@ -181,7 +181,7 @@ Multiple products in a responsive grid.
181181
children: [
182182
{
183183
type: "icon",
184-
icon: "smartphone",
184+
name: "smartphone",
185185
className: "h-16 w-16 text-muted-foreground"
186186
}
187187
]
@@ -221,7 +221,7 @@ Multiple products in a responsive grid.
221221
children: [
222222
{
223223
type: "icon",
224-
icon: "watch",
224+
name: "watch",
225225
className: "h-16 w-16 text-muted-foreground"
226226
}
227227
]
@@ -261,7 +261,7 @@ Multiple products in a responsive grid.
261261
children: [
262262
{
263263
type: "icon",
264-
icon: "laptop",
264+
name: "laptop",
265265
className: "h-16 w-16 text-muted-foreground"
266266
}
267267
]
@@ -301,7 +301,7 @@ Multiple products in a responsive grid.
301301
children: [
302302
{
303303
type: "icon",
304-
icon: "headphones",
304+
name: "headphones",
305305
className: "h-16 w-16 text-muted-foreground"
306306
}
307307
]
@@ -385,7 +385,7 @@ Cart summary with items and checkout.
385385
children: [
386386
{
387387
type: "icon",
388-
icon: "smartphone",
388+
name: "smartphone",
389389
className: "h-8 w-8 text-muted-foreground"
390390
}
391391
]
@@ -464,7 +464,7 @@ Cart summary with items and checkout.
464464
children: [
465465
{
466466
type: "icon",
467-
icon: "headphones",
467+
name: "headphones",
468468
className: "h-8 w-8 text-muted-foreground"
469469
}
470470
]
@@ -704,7 +704,7 @@ Checkout order review.
704704
children: [
705705
{
706706
type: "icon",
707-
icon: "credit-card",
707+
name: "credit-card",
708708
className: "h-6 w-6"
709709
}
710710
]

content/docs/blocks/forms.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ Simple newsletter subscription form.
413413
children: [
414414
{
415415
type: "icon",
416-
icon: "mail",
416+
name: "mail",
417417
className: "h-12 w-12 mx-auto text-primary"
418418
},
419419
{

0 commit comments

Comments
 (0)