0.0.1 • Published 11 months ago

ashishk-ocean v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Ocean

A notion API data parser for react.

Installation

npm install ashishk-ocean
or
yarn add ashishk-ocean

Usuage

  1. Import the library into your file
import { useScroller } from "ashishk-ocean";
  1. Initiailize the function and pass the scrolling arguments which include x and a y position along with scroll behaviour.
const sc = useScroller({
	x: 5,
	y: 200,
	isSmooth: true, // false by default
});
  1. Call the function
sc();
0.0.1

11 months ago

0.0.0

11 months ago