UNPKG

@enonic/react-components

Version:

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

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