use-blurred-bottom-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

use-blurred-bottom-scroll

Get started

npm i use-blurred-bottom-scroll

Usage exmaple

export const SomeListComponent = props => {
  const { handleScrollNode, blurredElement } = useBlurredBottomScroll();

  return (
    <div>
      <div ref={handleScrollNode}>
        {props.listItems.map(item => (
          <p>{item.image}</p>
        ))}
      </div>
      {blurredElement}
    </div>
  );
};
  

Readme

Keywords

Package Sidebar

Install

npm i use-blurred-bottom-scroll

Weekly Downloads

4

Version

1.0.10

License

ISC

Unpacked Size

5.27 kB

Total Files

6

Last publish

Collaborators

  • isolonenko