docs: intro + basic chapter fixes (#10361)

This commit is contained in:
Shahed Nasser
2024-12-02 09:31:47 +02:00
committed by GitHub
parent a1f36caaf7
commit b4d6a4b3f0
17 changed files with 105 additions and 91 deletions
@@ -29,6 +29,8 @@ You create a widget in a `.tsx` file under the `src/admin/widgets` directory. Th
For example, create the file `src/admin/widgets/product-widget.tsx` with the following content:
![Example of widget file in the application's directory structure](https://res.cloudinary.com/dza7lstvk/image/upload/v1732867137/Medusa%20Book/widget-dir-overview_dqsbct.jpg)
export const widgetHighlights = [
["5", "ProductWidget", "The React component of the product widget."],
["17", "zone", "The zone to inject the widget to."]