wishlistButton
WishlistButton ⇒ JSX.Element
WishlistButton component that allows a user to add or remove a product from their wishlist.
Kind: global constant
Returns: JSX.Element
- The WishlistButton component.
Param | Type | Description |
---|---|---|
props | Object | The properties passed to the component. |
props.productId | string | The id of the product. |