Added prettier and prettied the code.

Created and added the razorpay payment module
This commit is contained in:
2025-02-16 04:37:30 +00:00
parent 513664dcbe
commit 6e3216a0ff
20 changed files with 767 additions and 415 deletions

View File

@ -9,7 +9,7 @@ A widget is a React component that can be injected into an existing page in the
For example, create the file `src/admin/widgets/product-widget.tsx` with the following content:
```tsx title="src/admin/widgets/product-widget.tsx"
import { defineWidgetConfig } from "@medusajs/admin-sdk";
import { defineWidgetConfig } from '@medusajs/admin-sdk';
// The widget
const ProductWidget = () => {
@ -22,7 +22,7 @@ const ProductWidget = () => {
// The widget's configurations
export const config = defineWidgetConfig({
zone: "product.details.after",
zone: 'product.details.after',
});
export default ProductWidget;