UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

11 lines (10 loc) 409 B
import React from 'react'; import { BoxOwnProps } from "./Box.js"; import type { Assign, ForwardRef } from "./types.js"; export interface ImageProps extends Assign<React.ComponentPropsWithRef<'img'>, BoxOwnProps> { } /** * Image style variants can be defined in the theme.images object. * @see https://theme-ui.com/components/image/ */ export declare const Image: ForwardRef<HTMLImageElement, ImageProps>;