@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).
33 lines (32 loc) • 1.31 kB
TypeScript
import { INews } from '../interfaces/INews';
export interface HorizontalNewsCardListViewProps {
titleImage: string;
titleImageAlt?: string;
titleImageTag?: string;
subtitle: string;
title: string;
cards: INews[];
tags?: Array<{
target?: string;
title: string;
}>;
breadcrumbs?: Array<{
target?: string;
title: string;
}>;
onTagEnable?: (tag: string) => void;
onTagDisable?: (tag: string) => void;
activeTags?: Array<string>;
children?: React.ReactNode;
teaser?: string;
emptyListText?: string;
onClickNext?: () => void;
onClickPrevious?: () => void;
paginationStart?: number;
paginationEnd?: number;
paginationOverall?: number;
nextHref?: string;
previousHref?: string;
currentPageFormatter?: (start?: number, end?: number, overall?: number) => React.ReactNode;
}
export declare function HorizontalNewsCardListView({ titleImage, titleImageAlt, titleImageTag, title, subtitle, cards, tags, breadcrumbs, onTagEnable, onTagDisable, activeTags, children, teaser, paginationEnd, paginationOverall, paginationStart, onClickNext, onClickPrevious, nextHref, previousHref, emptyListText, currentPageFormatter, }: HorizontalNewsCardListViewProps): import("react/jsx-runtime").JSX.Element;