export interface Source { src: string; media?: string; type?: string; } export interface ImageProps { image: Source | Array; flexible?: "width" | "height" | "full" | null; alt: string; minWidth?: number; maxWidth?: number; minHeight?: number; maxHeight?: number; width?: number; height?: number; aspectRatio?: string | null; } /** * Para utlizar esse componente, deve-se importar: * * ``` * import Image from "@raiadrogasil/pulso-react-components/Image"; * ``` * * ou * * * *
* * Obs: O método com chaves importa o código de todos os componentes, mesmo os que não estão listados entre as chave. Portanto, por questão de performance, é desaconselhado seu uso. * *
* ``` * import {Image} from "@raiadrogasil/pulso-react-components/"; * ``` */ declare function Image({ image, flexible, alt, minWidth, minHeight, maxWidth, maxHeight, width, height, aspectRatio, }: ImageProps): JSX.Element; export default Image;