UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

18 lines (17 loc) 765 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { ImgHTMLAttributes } from 'react'; import type { AspectRatioProps } from '../common/types'; export type ImageProps = { /** A textual description of the content of the image. */ alt: string; } & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, 'children'>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-media-image--docs Image docs at Amsterdam Design System} */ export declare const Image: import("react").ForwardRefExoticComponent<{ /** A textual description of the content of the image. */ alt: string; } & AspectRatioProps & Omit<ImgHTMLAttributes<HTMLImageElement>, "children"> & import("react").RefAttributes<HTMLImageElement>>;