Skip to content

Commit e008187

Browse files
committed
feat: update documentation of component
1 parent 1154966 commit e008187

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/docs-editor.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ By adding a product name to the component, the list will display the X latest ch
339339
🧩  This component uses a **Tag** style.
340340

341341
Props:
342-
- `src` (mandatory!)
342+
- `productIcon` (mandatory!) - Icon name from Ultraviolet lib
343343
- `title` (mandatory!)
344344
- `description`
345345
- `url` (for link, mandatory!)
@@ -348,7 +348,7 @@ Props:
348348

349349
```jsx
350350
<ProductCard
351-
src='https://www.scaleway.com/en/docs/favicon/favicon.svg'
351+
productIcon="AccountExperienceProductIcon"
352352
title="Lorem Ipsum"
353353
description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad."
354354
url="/#" />
@@ -358,7 +358,8 @@ Props:
358358

359359
### Full example
360360

361-
<ProductCard src='https://www.scaleway.com/en/docs/favicon/favicon.svg'
361+
<ProductCard
362+
src="AccountExperienceProductIcon"
362363
title="Lorem Ipsum"
363364
description="Reprehenderit et magna elit non et. Ut laboris adipisicing commodo veniam commodo non amet Lorem pariatur reprehenderit ut ullamco et ad."
364365
url="/#" />

0 commit comments

Comments
 (0)