UNPKG

@botonic/plugin-flow-builder

Version:

Use Flow Builder to show your contents

16 lines (15 loc) 635 B
/// <reference types="react" /> import { ActionRequest } from '@botonic/react'; import { ContentFieldsBase } from './content-fields-base'; import { FlowButton } from './flow-button'; import { HtRatingNode, RatingType } from './hubtype-fields'; export declare class FlowRating extends ContentFieldsBase { text: string; sendButtonText: string; ratingType: RatingType; buttons: FlowButton[]; openListButtonText: string; static fromHubtypeCMS(cmsText: HtRatingNode, locale: string): FlowRating; trackFlow(request: ActionRequest): Promise<void>; toBotonic(id: string, request: ActionRequest): JSX.Element; }