@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).
31 lines (30 loc) • 878 B
TypeScript
import { default as React } from 'react';
type Image = {
src: string;
alt: string;
href?: string;
};
type BaseProps = {
title?: string;
columns: 2 | 3 | 4 | 5 | 6;
className?: string;
customGap?: string;
customResponsiveColumn?: string;
newTab?: boolean;
};
type EntriesOrChildren = {
children: React.ReactNode;
entries?: never;
} | {
children?: never;
entries: Image[];
};
export type LogoGridProps = BaseProps & EntriesOrChildren;
export declare function LogoGrid({ title, columns, className, customGap, customResponsiveColumn, children, entries, newTab, }: LogoGridProps): import("react/jsx-runtime").JSX.Element;
export interface LogoItemProps {
src: string;
alt: string;
href?: string;
}
export declare function LogoItem({ src, alt, href }: LogoItemProps): import("react/jsx-runtime").JSX.Element;
export {};