Skip to content

Commit

Permalink
Merge branch 'master' of github.com:BBKolton/reactify-wc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Kolton committed Apr 6, 2020
2 parents 516c3c4 + b736851 commit cbcdf76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { RefObject, Component, createRef, createElement } from "react";
import { RefObject, Component, createRef, createElement, ReactNode } from "react";

const reactifyWebComponent = (WC: string) => {
const reactifyWebComponent = <Props>(WC: string) => {
return class extends Component {
props: any;
props: Props & { children?: ReactNode };
eventHandlers: [string, Function][];
ref: RefObject<HTMLElement>;

Expand Down

0 comments on commit cbcdf76

Please sign in to comment.