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).

21 lines (20 loc) 798 B
import { INewsCard, INews, Color } from '../interfaces/INews'; export interface VerticalNewsCardSliderBaseProps { title?: string; items: Array<INews | INewsCard>; fullBleed?: boolean; id?: string; className?: string; } type VerticalNewsCardSliderCustomColor = { variant?: never; customBackgroundColor?: Color; textColor?: "dark" | "light"; } | { variant: "light" | "dark"; customBackgroundColor?: never; textColor?: never; }; export type VerticalNewsCardSliderProps = VerticalNewsCardSliderBaseProps & VerticalNewsCardSliderCustomColor; export declare function VerticalNewsCardSlider({ className, title, items, customBackgroundColor, textColor, fullBleed, id, variant, }: VerticalNewsCardSliderProps): import("react/jsx-runtime").JSX.Element; export {};