@neowhale/storefront 0.2.8 → 0.2.10

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.
@@ -366,19 +366,12 @@ declare function useCoupons(): {
366
366
  };
367
367
 
368
368
  interface QRLandingPageProps {
369
- /** QR code string (from URL param) */
370
369
  code: string;
371
- /** Gateway URL — defaults to https://whale-gateway.fly.dev */
372
370
  gatewayUrl?: string;
373
- /** Custom component for product display */
374
371
  renderProduct?: (data: QRLandingData) => React.ReactNode;
375
- /** Custom component for COA/lab results */
376
372
  renderCOA?: (data: QRLandingData) => React.ReactNode;
377
- /** Custom component for the full page (overrides default layout) */
378
373
  renderPage?: (data: QRLandingData) => React.ReactNode;
379
- /** Called when data is loaded */
380
374
  onDataLoaded?: (data: QRLandingData) => void;
381
- /** Called on error */
382
375
  onError?: (error: Error) => void;
383
376
  }
384
377
  declare function QRLandingPage({ code, gatewayUrl, renderProduct, renderCOA, renderPage, onDataLoaded, onError, }: QRLandingPageProps): react_jsx_runtime.JSX.Element | null;
@@ -366,19 +366,12 @@ declare function useCoupons(): {
366
366
  };
367
367
 
368
368
  interface QRLandingPageProps {
369
- /** QR code string (from URL param) */
370
369
  code: string;
371
- /** Gateway URL — defaults to https://whale-gateway.fly.dev */
372
370
  gatewayUrl?: string;
373
- /** Custom component for product display */
374
371
  renderProduct?: (data: QRLandingData) => React.ReactNode;
375
- /** Custom component for COA/lab results */
376
372
  renderCOA?: (data: QRLandingData) => React.ReactNode;
377
- /** Custom component for the full page (overrides default layout) */
378
373
  renderPage?: (data: QRLandingData) => React.ReactNode;
379
- /** Called when data is loaded */
380
374
  onDataLoaded?: (data: QRLandingData) => void;
381
- /** Called on error */
382
375
  onError?: (error: Error) => void;
383
376
  }
384
377
  declare function QRLandingPage({ code, gatewayUrl, renderProduct, renderCOA, renderPage, onDataLoaded, onError, }: QRLandingPageProps): react_jsx_runtime.JSX.Element | null;