Introduce new extension point for changeset description

This new extension point will only be rendered when the old extension
point is not bound.
This commit is contained in:
René Pfeuffer
2020-06-30 18:11:23 +02:00
parent f62683e528
commit 53993cfee7
8 changed files with 141 additions and 30 deletions

View File

@@ -24,10 +24,10 @@
import React, { FC, ReactNode } from "react";
import textSplitAndReplace from "./textSplitAndReplace";
type Replacement = {
export type Replacement = {
textToReplace: string;
replacement: ReactNode;
replaceAll: boolean;
replaceAll?: boolean;
};
type Props = {