@shopify/react-tracking-pixel
Version:
Allows React apps to easily embed tracking pixel iframes
13 lines • 477 B
TypeScript
import React from 'react';
export interface Props {
url: string;
/**
* Additional hosts to preconnect to. These should be hosts that
* are connected to by the page that will be loaded in an iframe.
*/
preconnectHosts?: string[];
}
declare function TrackingPixel({ url, preconnectHosts }: Props): JSX.Element;
declare const _default: React.MemoExoticComponent<typeof TrackingPixel>;
export default _default;
//# sourceMappingURL=TrackingPixel.d.ts.map