UNPKG

@enonic/react-components

Version:

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

4 lines (3 loc) 275 B
import type { DOMNode } from 'html-react-parser'; import type { CreateReplacerParams, ReplacerResult } from '../types'; export declare function createReplacer<RestProps = Record<string, unknown>>(props: CreateReplacerParams<RestProps>): (domNode: DOMNode) => ReplacerResult;