diff --git a/README.md b/README.md index ca873a3..5f0ca9c 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ const MyComponent = () => { ### HOC ```tsx +import { WithOnScreen } from '@ukorvl/react-on-screen'; + const List = forwardRef(function List({isOnScreen, ...restProps}: ListProps, ref) { return (