Skip to content

Commit 9b56ded

Browse files
authored
Update README.md
1 parent 972d022 commit 9b56ded

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ const MyComponent = () => (
2929

3030
## Standalone Version
3131

32-
The standalone version does _not_ come bundled with [scroll-into-view-if-needed](https://www.npmjs.com/package/scroll-into-view-if-needed). Use this version if you'd like to maintain your own dependency for scroll-into-view-if-needed.
32+
The standalone version does **not** come bundled with [scroll-into-view-if-needed](https://www.npmjs.com/package/scroll-into-view-if-needed). Use this version if you'd like to maintain your own dependency for scroll-into-view-if-needed, or if you're already using scroll-into-view-if-needed in other areas of your project.
33+
34+
**ES version:**
3335

34-
ES version:
3536
`import ScrollIntoViewIfNeeded from 'react-scroll-into-view-if-needed/dist/es/standalone.js'`
3637

37-
UMD version:
38+
**UMD version:**
39+
3840
`import ScrollIntoViewIfNeeded from 'react-scroll-into-view-if-needed/dist/umd/standalone.js'`
3941

4042
## Optional Props

0 commit comments

Comments
 (0)