@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
21 lines (20 loc) • 784 B
TypeScript
/// <reference types="react" />
import { WhatsappCTAUrlHeaderType } from '@botonic/react';
import { FlowBuilderApi } from '../api';
import { ContentFieldsBase } from './content-fields-base';
import { HtWhatsappCTAUrlButtonNode } from './hubtype-fields';
export declare class FlowWhatsappCtaUrlButtonNode extends ContentFieldsBase {
code: string;
text: string;
header?: string;
headerType?: WhatsappCTAUrlHeaderType;
headerImage?: string;
headerVideo?: string;
headerDocument?: string;
footer?: string;
displayText: string;
url: string;
static fromHubtypeCMS(component: HtWhatsappCTAUrlButtonNode, locale: string, cmsApi: FlowBuilderApi): FlowWhatsappCtaUrlButtonNode;
private static setHeader;
toBotonic(id: string): JSX.Element;
}