@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).
16 lines (15 loc) • 631 B
TypeScript
import { MouseEvent } from 'react';
import { IImage } from '../interfaces/IImage';
type BaseProps = {
onClick?: (e: MouseEvent<HTMLDivElement>) => void;
className?: string;
faded?: boolean;
onLoad?: () => void;
inSlider?: boolean;
onFullscreen?: () => void;
captionHtml?: string;
subCaptionHtml?: string;
};
export type ImageProps = IImage & BaseProps;
export declare function Image({ src, caption, alt, subCaption, onFullscreen, className, tag, onClick, faded, onLoad, inSlider, width, height, captionHtml, subCaptionHtml, }: ImageProps): import("react/jsx-runtime").JSX.Element | null;
export {};