22 lines
678 B
TypeScript
22 lines
678 B
TypeScript
import type { CF_ContentType } from "./Contentful_ContentType.enum.js";
|
|
import type { CF_ComponentLayout } from "./Contentful_Layout.js";
|
|
|
|
export type CF_Component_Headline_Align = "left" | "center" | "right";
|
|
|
|
export type CF_Component_Headline_Tag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
|
|
export type CF_alignTextClasses = "text-left" | "text-center" | "text-right";
|
|
|
|
export interface CF_ComponentHeadline {
|
|
internal: string;
|
|
text: string;
|
|
tag: CF_Component_Headline_Tag;
|
|
layout: CF_ComponentLayout;
|
|
align?: CF_Component_Headline_Align;
|
|
}
|
|
|
|
export interface CF_ComponentHeadlineSkeleton {
|
|
contentTypeId: CF_ContentType.headline;
|
|
fields: CF_ComponentHeadline;
|
|
}
|