@hhgtech/hhg-components
Version:
Hello Health Group common components
14 lines (13 loc) • 400 B
TypeScript
import React from 'react';
export type ImgProps = {
ratio?: number;
size?: number;
radius?: number;
};
export type Props = {
src?: string;
defaultSrc?: string;
alt?: string;
} & ImgProps & React.HTMLAttributes<HTMLDivElement>;
declare const Thumbnail: ({ src, defaultSrc, ratio, size, radius, alt, className, }: Props) => React.JSX.Element;
export { Thumbnail };