@clubmed/trident-ui
Version:
Shared ClubMed React UI components
8 lines (7 loc) • 320 B
TypeScript
import { ComponentPropsWithoutRef, FunctionComponent, SourceHTMLAttributes } from 'react';
export interface ImageProps extends ComponentPropsWithoutRef<'img'> {
lazyLoad?: boolean;
src: string;
sources?: SourceHTMLAttributes<HTMLSourceElement>[];
}
export declare const Image: FunctionComponent<ImageProps>;