UNPKG

@enonic/react-components

Version:

Library of React components for handling Enonic XP data and page components

3 lines (2 loc) 338 B
import type { ReplaceMacroImageLinkParams } from '../types'; export declare function replaceImage<RestProps = Record<string, unknown>>({ el, Image, data: { images }, meta: { mode }, replacer, component, common, Link, Macro, createReplacer, ...restProps }: ReplaceMacroImageLinkParams<RestProps>): import("react/jsx-runtime").JSX.Element;