UNPKG

@neuctra/ui

Version:

A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.

34 lines (33 loc) 1.02 kB
import { default as React } from 'react'; interface ImageProps { src?: string; alt?: string; width?: string; height?: string; borderRadius?: string; borderColor?: string; borderStyle?: "solid" | "dashed" | "dotted" | "double" | "none"; borderWidth?: string; shadow?: boolean; boxShadow?: string; opacity?: number; objectFit?: "cover" | "contain" | "fill" | "none" | "scale-down"; overlayText?: string; overlayColor?: string; svgIcon?: React.ReactNode; responsive?: boolean; padding?: string; margin?: string; lazyLoad?: boolean; hoverOpacity?: number; hoverShadow?: boolean; hoverScale?: number; hoverRotate?: number; transitionDuration?: string; overflow?: "hidden" | "scroll" | "auto" | "visible" | "x" | "y"; className?: string; style?: React.CSSProperties; onClick?: (event: React.MouseEvent<HTMLDivElement | HTMLImageElement>) => void; } export declare const Image: React.FC<ImageProps>; export {};