@phenomenon-hooks/use-smooth-scroll
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

useSmoothScroll


Installation

yarn add @phenomenon-hooks/use-smooth-scroll

or

npm i @phenomenon-hooks/use-smooth-scroll

Usage

import React from 'react';
import { useSmoothScroll } from '@phenomenon-hooks/use-smooth-scroll';

const App: React.FC = () => {
    useSmoothScroll();

    return <main>{/* other markup */}</main>;
};

Anatomy

useSmoothScroll();

Readme

Keywords

none

Package Sidebar

Install

npm i @phenomenon-hooks/use-smooth-scroll

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

4.07 kB

Total Files

8

Last publish

Collaborators

  • mykola.kolomoyets