import { registerComponent } from "https://deno.land/x/docxml@3.0.1/src/utilities/components.ts";
Register a component in such a way that it can be found by its name later.
This helps avoid circular dependencies in components that can be a descendant of themselves. For example, Table --> Row --> Cell --> Table
Parameters
component: ComponentDefinition<Component<{ [key: string]: any; }, any>> | ComponentDefinition<Component<{ [key: string]: any; }, never>>