UNPKG

@mornya/react-image-libs

Version:
14 lines (13 loc) 594 B
import React from 'react'; import type { LazyImageProps } from './hooks'; export type LazyImageComponentProps = LazyImageProps & { width?: string | number; height?: string | number; fit?: React.CSSProperties['objectFit']; onMouseOver?: React.MouseEventHandler<HTMLSpanElement>; onMouseLeave?: React.MouseEventHandler<HTMLSpanElement>; onFocus?: React.FocusEventHandler<HTMLSpanElement>; onBlur?: React.FocusEventHandler<HTMLSpanElement>; onClick?: React.MouseEventHandler<HTMLButtonElement>; }; export declare const LazyImage: React.FC<LazyImageComponentProps>;