From c3e30224c70e94d7780d9bfd6bea2024509835d9 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 21 Feb 2024 08:49:30 +0200 Subject: [PATCH] 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 --- www/apps/docs/content/admin/widgets.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/www/apps/docs/content/admin/widgets.md b/www/apps/docs/content/admin/widgets.md index 4dc6cc63a3..dd7f6ec454 100644 --- a/www/apps/docs/content/admin/widgets.md +++ b/www/apps/docs/content/admin/widgets.md @@ -534,7 +534,15 @@ Added at the top of the product collection details page -\- +Type `ProductCollectionDetailsWidgetProps` imported from `@medusajs/admin`. + + + +```ts noCopy noReport +{ + productCollection, // Collection object +} +``` @@ -552,7 +560,15 @@ Added at the bottom of the product collections list page -\- +Type `ProductCollectionDetailsWidgetProps` imported from `@medusajs/admin`. + + + +```ts noCopy noReport +{ + productCollection, // Collection object +} +```