UNPKG

@botonic/react

Version:

Build Chatbots using React

33 lines (32 loc) 764 B
type Parameters = TextParameter | CurrencyParameter | DateTimeParameter; interface TextParameter { type: 'text'; text: string; } interface CurrencyParameter { type: 'currency'; currency: { fallbackValue: string; code: string; amount1000: number; }; } interface DateTimeParameter { type: 'date_time'; dateTime: { fallbackValue: string; }; } interface Card { productRetailerId: string; catalogId: string; cardIndex?: number; } export interface WhatsappProductCarouselProps { templateName: string; templateLanguage: string; cards: Card[]; bodyParameters?: Parameters[]; } export declare const WhatsappProductCarousel: (props: WhatsappProductCarouselProps) => any; export {};