docs: add missing export for CreateBundledProduct component (#12704)
* docs: add missing export for CreateBundledProduct component This commit adds a missing `export` statement to the `CreateBundledProduct` component in the "Create Form Component" example. Without the `export`, readers copying the example wouldn't be able to use the component elsewhere in their project, which could be confusing. This ensures the example is complete and ready to use as-is. * updated to default export for CreateBundledProduct component instead
This commit is contained in:
@@ -1277,6 +1277,7 @@ const CreateBundledProduct = () => {
|
|||||||
])
|
])
|
||||||
// TODO fetch products
|
// TODO fetch products
|
||||||
}
|
}
|
||||||
|
export default CreateBundledProduct;
|
||||||
```
|
```
|
||||||
|
|
||||||
You create a `CreateBundledProduct` component that defines the following state variables:
|
You create a `CreateBundledProduct` component that defines the following state variables:
|
||||||
|
|||||||
Reference in New Issue
Block a user