randmarcomps 1.241.0 → 1.243.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -544,22 +544,19 @@ export declare interface PreloaderProps {
544
544
  className?: string;
545
545
  }
546
546
 
547
- export declare function ProductCard({ applicationId, item, addToCart, syncToShopify, customAction, defaultOpportunityNumber, viewProductLink, addToCartAction, isAddToCartActionLoading, syncToShopifyAction, isSyncToShopifyActionLoading, }: ProductCardProps): JSX.Element;
547
+ export declare function ProductCard({ applicationId, product, viewProductLink, defaultOpportunityNumber, onAddToCart, addingToCart, shopifyHostname, customAction }: ProductCardProps): JSX.Element;
548
548
 
549
549
  export declare interface ProductCardProps {
550
550
  applicationId?: string;
551
- item?: Product;
552
- addToCart?: boolean;
553
- syncToShopify?: boolean;
554
- defaultOpportunityNumber?: string;
551
+ product?: Product;
555
552
  viewProductLink?: string;
556
- addToCartAction?: (state: {
553
+ defaultOpportunityNumber?: string;
554
+ onAddToCart?: (state: {
557
555
  quantity: number;
558
556
  bidNumber: string | null;
559
557
  }) => void;
560
- isAddToCartActionLoading?: boolean;
561
- syncToShopifyAction?: () => void;
562
- isSyncToShopifyActionLoading?: boolean;
558
+ addingToCart?: boolean;
559
+ shopifyHostname?: string;
563
560
  customAction?: default_2.ReactNode;
564
561
  }
565
562