Skip to content

nprz/page-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This would probably make more sense as a NPM package. Which Maybe one day it will be. To use:

import useGradientBlock from "./GradientBlock";

function App() {
  const { GradientBlock, setEnter, enter } = useGradientBlock();

  function handleClick() {
    setEnter(true);
  }

  return (
    <>
      <div> Hello world </div>
      <GradientBlock enter={enter} setEnter={handleClick} title="Hello World" />
    </>
  )
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published