import React from "react"; import "./img.scss"; interface CommonProps { /** Making the image responsive and adaptive to its parent size */ responsive?: boolean; /** Adds default border radius */ rounded?: boolean; /** Thumbnail layout */ thumbnail?: boolean; } declare type ImageProps = JSX.IntrinsicElements["img"] & CommonProps & { type?: "img"; }; declare type DivImageProps = JSX.IntrinsicElements["div"] & CommonProps & { type?: "div"; /** Sets the background attachment to fixed to allow parallax effect */ bgFixed?: boolean; /** Image Source */ src?: string; /** Image width */ width?: React.ReactText; /** Image height */ height?: React.ReactText; }; export declare type ImgProps = ImageProps | DivImageProps; /** Image component that uses native `img` element */ export declare const Img: React.FC; export {};