@mornya/react-image-libs
Version:
The project of React.js Image library.
12 lines (11 loc) • 558 B
TypeScript
import React from 'react';
import type { LazyImageProps } from './hooks';
export type LazyBackgroundComponentProps = React.PropsWithChildren<LazyImageProps & {
backgroundSize?: string;
onMouseOver?: React.MouseEventHandler<HTMLSpanElement>;
onMouseLeave?: React.MouseEventHandler<HTMLSpanElement>;
onFocus?: React.FocusEventHandler<HTMLSpanElement>;
onBlur?: React.FocusEventHandler<HTMLSpanElement>;
onClick?: React.MouseEventHandler<HTMLSpanElement>;
}>;
export declare const LazyBackground: React.FC<LazyBackgroundComponentProps>;