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.
- package/dist/randmarcomps.d.ts +6 -9
- package/dist/randmarcomps.js +1777 -1901
- package/dist/randmarcomps.umd.cjs +34 -34
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -544,22 +544,19 @@ export declare interface PreloaderProps {
|
|
|
544
544
|
className?: string;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
export declare function ProductCard({ applicationId,
|
|
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
|
-
|
|
552
|
-
addToCart?: boolean;
|
|
553
|
-
syncToShopify?: boolean;
|
|
554
|
-
defaultOpportunityNumber?: string;
|
|
551
|
+
product?: Product;
|
|
555
552
|
viewProductLink?: string;
|
|
556
|
-
|
|
553
|
+
defaultOpportunityNumber?: string;
|
|
554
|
+
onAddToCart?: (state: {
|
|
557
555
|
quantity: number;
|
|
558
556
|
bidNumber: string | null;
|
|
559
557
|
}) => void;
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
isSyncToShopifyActionLoading?: boolean;
|
|
558
|
+
addingToCart?: boolean;
|
|
559
|
+
shopifyHostname?: string;
|
|
563
560
|
customAction?: default_2.ReactNode;
|
|
564
561
|
}
|
|
565
562
|
|