Interface for an insert.

Type Parameters

  • T extends Record<string, unknown> = Record<string, never>

Hierarchy

  • Insert

Properties

Properties

match: RegExp

Regular expression that matches invocations of this insert.

render: ((firstArgument, props, invocation) => undefined | string)

Type declaration

    • (firstArgument, props, invocation): undefined | string
    • Renders the insert as HTML.

      Parameters

      • firstArgument: null | string
      • props: T
      • invocation: string

      Returns undefined | string

Generated using TypeDoc