@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
17 lines (16 loc) • 487 B
TypeScript
import { HtButton } from './button';
import { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
import { HtNodeWithContentType } from './node-types';
export interface HtCarouselElement {
id: string;
title: HtTextLocale[];
subtitle: HtTextLocale[];
image: HtMediaFileLocale[];
button: HtButton;
}
export interface HtCarouselNode extends HtBaseNode {
type: HtNodeWithContentType.CAROUSEL;
content: {
elements: HtCarouselElement[];
};
}