google-publisher-tag
Version:
Type-safe React wrapper for Google Publisher Tag (GPT).
9 lines • 494 B
TypeScript
import React from "react";
import type { SlotConfig } from "./gpt.types";
export type AdSlotProps<Names extends string = string> = Omit<SlotConfig<Names>, "outOfPage"> & {
style?: React.CSSProperties;
className?: string;
display?: boolean;
};
export declare function AdSlot<Names extends string = string>({ id, adUnitPath, sizes, sizeMapping, targeting, style, className, display, }: AdSlotProps<Names>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AdSlot.d.ts.map