Skip to content

Commit 674eb7b

Browse files
authored
Merge pull request #50 from SolarLiner/preact-component-patch
Add missing Component export from Preact integration
2 parents 864c73c + 2ca8b36 commit 674eb7b

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)