@gymmymac/bob-widget 1.1.5 → 1.1.7
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.
|
@@ -28,6 +28,8 @@ interface ContainedMobileBobLayoutProps {
|
|
|
28
28
|
onProductClick?: (product: Product) => void;
|
|
29
29
|
onPackageSelect?: (pkg: ServicePackage) => void;
|
|
30
30
|
isResearching?: boolean;
|
|
31
|
+
onAddToCart?: (product: Product) => void;
|
|
32
|
+
onNavigateToProductPage?: (product: Product) => void;
|
|
31
33
|
vehicle?: Vehicle | null;
|
|
32
34
|
onChangeVehicle?: () => void;
|
|
33
35
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Product } from '../../types';
|
|
3
|
+
|
|
4
|
+
interface ProductDetailViewProps {
|
|
5
|
+
product: Product;
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
onAddToCart?: (product: Product) => void;
|
|
8
|
+
onNavigateToProductPage?: (product: Product) => void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* ProductDetailView - Full product detail display within Bob widget
|
|
12
|
+
* Allows customer to see all product info while Bob remains visible (scaled down)
|
|
13
|
+
*/
|
|
14
|
+
export declare const ProductDetailView: React.FC<ProductDetailViewProps>;
|
|
15
|
+
export {};
|
|
@@ -4,3 +4,4 @@ export { MobileProductColumn } from './MobileProductColumn';
|
|
|
4
4
|
export { MobileBobLayout } from './MobileBobLayout';
|
|
5
5
|
export { ContainedMobileBobLayout } from './ContainedMobileBobLayout';
|
|
6
6
|
export { ContainedChatDrawer } from './ContainedChatDrawer';
|
|
7
|
+
export { ProductDetailView } from './ProductDetailView';
|