UNPKG

admesh-ui-sdk

Version:

Beautiful, modern React components for displaying AI-powered product recommendations with citation-based conversation ads, auto-triggered widgets, floating chat, conversational interfaces, persistent sidebar, and built-in tracking

27 lines 1.12 kB
import { default as React } from 'react'; import { AdMeshRecommendation, AdMeshTheme } from '../types'; export interface AdMeshSimpleAdProps { /** Product recommendation data */ recommendation: AdMeshRecommendation; /** Theme configuration */ theme?: AdMeshTheme; /** Custom CSS class name */ className?: string; /** Callback when the ad is clicked */ onClick?: (adId: string, admeshLink: string) => void; /** Show "powered by AdMesh" branding */ showPoweredBy?: boolean; /** Variation style for the ad */ variation?: 'question' | 'statement'; } /** * AdMeshSimpleAd - A one-line ad unit with product name, simple description, and link * * Perfect for clean, unobtrusive product recommendations that blend naturally into content. * Supports two variations: * - Question: "Looking for payment solutions for your business? Try Stripe" * - Statement: "Stripe is offering best payment solutions for small business, visit" */ export declare const AdMeshSimpleAd: React.FC<AdMeshSimpleAdProps>; export default AdMeshSimpleAd; //# sourceMappingURL=AdMeshSimpleAd.d.ts.map