Added prettier and prettied the code.
Created and added the razorpay payment module
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user