Skip to content

Commit

Permalink
feat: update documentation of component
Browse files Browse the repository at this point in the history
  • Loading branch information
Slashgear committed Nov 19, 2024
1 parent 1154966 commit e008187
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/docs-editor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ By adding a product name to the component, the list will display the X latest ch
🧩  This component uses a **Tag** style.

Props:
- `src` (mandatory!)
- `productIcon` (mandatory!) - Icon name from Ultraviolet lib
- `title` (mandatory!)
- `description`
- `url` (for link, mandatory!)
Expand All @@ -348,7 +348,7 @@ Props:

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

### Full example

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

0 comments on commit e008187

Please sign in to comment.