import { type ComponentDefinition } from "https://deno.land/x/docxml@5.5.1/src/classes/Component.ts";
The interface to which a class definition of an XML component must adhere -- ie.
it must have a children
and mixed
static properties.
Type Parameters
optional
C extends AnyComponent | unknown = AnyComponentMethods
new(props: ComponentProps<C>, ...children: ComponentChild<C>[]): C
fromNode(node: Node): C