Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@am-hooks/use-fade-in

dorothy79647MIT1.0.0

To slowly see the animation

scroll, coords, w/y, fadein, usefadeIn

readme

useFadeIn

fadeIn 애니메이션

Installation

yarn

yarn add @am-hooks/use-fade-in

npm

npm i @am-hooks/use-fade-in

Usage

import React from "react";
import useFadeIn from "@am-hooks/use-fade-in";

const App = () => {
  const fadeIn = useFadeIn(1, 3);
  return <p {...fadeIn}>HELLO</p>
}