scaffolder: remove unused titleComponent property

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-03-17 08:58:54 +01:00
parent 6f07905aa0
commit 9a408928a1
4 changed files with 7 additions and 6 deletions
+1 -2
View File
@@ -196,8 +196,7 @@ export type RouterProps = {
TaskPageComponent?: ComponentType<{}>;
};
groups?: Array<{
title?: string;
titleComponent?: React_2.ReactNode;
title?: React_2.ReactNode;
filter: (entity: Entity) => boolean;
}>;
defaultPreviewTemplate?: string;
+1 -2
View File
@@ -45,8 +45,7 @@ export type RouterProps = {
TaskPageComponent?: ComponentType<{}>;
};
groups?: Array<{
title?: string;
titleComponent?: React.ReactNode;
title?: React.ReactNode;
filter: (entity: Entity) => boolean;
}>;
defaultPreviewTemplate?: string;
@@ -46,8 +46,6 @@ export type ScaffolderPageProps = {
| undefined;
groups?: Array<{
title?: React.ReactNode;
/** @deprcated use title instead as it accepts a string and react component */
titleComponent?: React.ReactNode;
filter: (entity: Entity) => boolean;
}>;
};