Skip to content

Commit 2ca8b36

Browse files
authored
Add missing Component export from Preact integration
1 parent 864c73c commit 2ca8b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/integrations/preact/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { h, VNode } from 'preact';
1+
import { h, VNode, Component } from 'preact';
22
declare function render(tree: VNode, parent: HTMLElement): void;
33
declare const html: (strings: TemplateStringsArray, ...values: any[]) => VNode;
4-
export { h, html, render };
4+
export { h, html, render, Component };

0 commit comments

Comments
 (0)