diff --git a/plugins/entity-scaffolder-content/README.md b/plugins/entity-scaffolder-content/README.md
index 1f3c2d5..927c6c1 100644
--- a/plugins/entity-scaffolder-content/README.md
+++ b/plugins/entity-scaffolder-content/README.md
@@ -51,11 +51,16 @@ const systemPage = (
},
]}
buildInitialState={entity => ({ system: stringifyEntityRef(entity) })}
+ // optional
ScaffolderFieldExtensions={
{/* Any field extensions you need */}
}
+ // optional
+ components={{
+ TemplateCard: CustomTemplateCard,
+ }}
/>
diff --git a/plugins/entity-scaffolder-content/src/components/EntityScaffolderContent.tsx b/plugins/entity-scaffolder-content/src/components/EntityScaffolderContent.tsx
index f36803d..e51c66c 100644
--- a/plugins/entity-scaffolder-content/src/components/EntityScaffolderContent.tsx
+++ b/plugins/entity-scaffolder-content/src/components/EntityScaffolderContent.tsx
@@ -33,6 +33,9 @@ export type EntityScaffolderContentProps = {
template: TemplateEntityV1beta3,
) => Record;
ScaffolderFieldExtensions?: React.ReactNode;
+ components?: {
+ TemplateCard?: React.ComponentType<{ template: TemplateEntityV1beta3 }>;
+ };
};
/**
@@ -44,6 +47,7 @@ export const EntityScaffolderContent = ({
templateGroupFilters,
buildInitialState,
ScaffolderFieldExtensions,
+ components,
}: EntityScaffolderContentProps) => {
const { entity } = useEntity();
const [selectedTemplate, setSelectedTemplate] =
@@ -81,6 +85,7 @@ export const EntityScaffolderContent = ({
)}