Skip to content

Commit

Permalink
fix(playground): imports
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Aug 28, 2022
1 parent 13ae8b8 commit a8aed9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ node_modules
.env
coverage

# storybook
/playground/storybook-static

# website
/website-deploy-key
/website-deploy-key.pub
Expand Down
2 changes: 1 addition & 1 deletion playground/stories/window-size/basic.example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import WindowSize from "@reach/window-size";
import { WindowSize } from "@reach/window-size";

let name = "Basic";

Expand Down
2 changes: 1 addition & 1 deletion playground/stories/window-size/basic.example.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import WindowSize from "@reach/window-size";
import { WindowSize } from "@reach/window-size";

let name = "Basic (TS)";

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/window-size.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ yarn add @reach/window-size
```

```js
import WindowSize, { useWindowSize } from "@reach/window-size";
import { WindowSize, useWindowSize } from "@reach/window-size";
```

## Component API
Expand Down

0 comments on commit a8aed9e

Please sign in to comment.