We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc2d10 commit ad51dfdCopy full SHA for ad51dfd
src/Component.ts
@@ -20,6 +20,12 @@ type ElementToTagName<T extends HTMLElement> = {
20
[K in keyof HTMLElementTagNameMap]: HTMLElementTagNameMap[K] extends T ? K : never
21
}[keyof HTMLElementTagNameMap];
22
23
+/**
24
+ * An {@link !HTMLElement} component.
25
+ *
26
+ * To create your own component, it's recommended to extend this class.
27
+ * @typeParam T Component element type
28
+ */
29
export class Component<T extends HTMLElement = HTMLElement> extends ElementComponent<T> {
30
/**
31
* Create Component instance
0 commit comments