UNPKG

@fchh/fcos-suite-ui

Version:

Reusable UI components based on React and TailwindCSS for the Fab City OS Suite (initially funded by the Interfacer EU project).

34 lines (33 loc) 1.14 kB
import { INews } from '../interfaces/INews'; import { PropsWithChildren } from 'react'; interface TableOfContentsItem { target: string; headline: string; } export interface ArticleProps { titleImage?: string; titleImageAlt?: string; titleImageTag?: string; subtitle?: string; teaser?: string; title?: string; tableOfContents?: Array<TableOfContentsItem>; relatedContent?: Array<INews>; dateAndAuthor?: string; tags?: Array<{ target?: string; title: string; }>; notProse?: boolean; preContentChildren?: React.ReactNode; className?: string; hideFooterSeparator?: boolean; breadcrumbs?: Array<{ target?: string; title?: string; icon?: React.ReactElement; }>; editButtonTarget?: string; } export declare function Article({ titleImage, titleImageAlt, children, subtitle, title, teaser, relatedContent, tableOfContents, dateAndAuthor, tags, preContentChildren, className, hideFooterSeparator, breadcrumbs, titleImageTag, editButtonTarget, }: PropsWithChildren<ArticleProps>): import("react/jsx-runtime").JSX.Element; export {};