Skip to content

Commit

Permalink
fix import doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskevin committed Jul 12, 2022
1 parent ae2a34c commit e86e5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This library provides a singleton exposed as `ifvisible` by default in addition

```js
// import singleton global bound to the `window`
import ifvisible from '@rosskevin/ifvisible'
import { ifvisible } from '@rosskevin/ifvisible'
```

or for more advanced usage for use cases that a singleton may not be useful, you may instantiate it directly:
Expand Down

0 comments on commit e86e5b4

Please sign in to comment.