Skip to content

Commit

Permalink
fix: .tsx -> .ts so <WindowWidthQuery> is in build
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed May 1, 2018
1 parent c232f13 commit f2e6066
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions src/WindowWidthQuery/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {h} from '../util';
import {WidthQuery} from '../WidthQuery';
import {WindowSizeSensor} from '../WindowSizeSensor';

export const WindowWidthQuery = (props) =>
h(WindowSizeSensor, null,
(state) => h(WidthQuery, state, props.children)
);
5 changes: 0 additions & 5 deletions src/WindowWidthQuery/index.tsx

This file was deleted.

0 comments on commit f2e6066

Please sign in to comment.