docs: add missing widget props for collections injection zones (#6452)

* docs: add missing widget props for collections injection zones

Adds missing widget props for the `product_collection.details.before` and `product_collection.details.after` injection zones.

* fix lint error
This commit is contained in:
Shahed Nasser
2024-02-21 08:49:30 +02:00
committed by GitHub
parent 30dbb86ef4
commit c3e30224c7

View File

@@ -534,7 +534,15 @@ Added at the top of the product collection details page
</td> </td>
<td> <td>
\- Type `ProductCollectionDetailsWidgetProps` imported from `@medusajs/admin`.
<!-- eslint-skip -->
```ts noCopy noReport
{
productCollection, // Collection object
}
```
</td> </td>
</tr> </tr>
@@ -552,7 +560,15 @@ Added at the bottom of the product collections list page
</td> </td>
<td> <td>
\- Type `ProductCollectionDetailsWidgetProps` imported from `@medusajs/admin`.
<!-- eslint-skip -->
```ts noCopy noReport
{
productCollection, // Collection object
}
```
</td> </td>
</tr> </tr>