diff --git a/Source/QuestPDF/Fluent/DynamicComponentExtensions.cs b/Source/QuestPDF/Fluent/DynamicComponentExtensions.cs index 5fe013b..c9d51f4 100644 --- a/Source/QuestPDF/Fluent/DynamicComponentExtensions.cs +++ b/Source/QuestPDF/Fluent/DynamicComponentExtensions.cs @@ -10,5 +10,10 @@ namespace QuestPDF.Fluent var componentProxy = DynamicComponentProxy.CreateFrom(dynamicElement); element.Element(new DynamicHost(componentProxy)); } + + public static void Element(this IContainer element, IDynamicElement child) + { + ElementExtensions.Element(element, child); + } } } \ No newline at end of file