@casperengl/react-reveal-title

1.0.2 • Public • Published

React Reveal Title

Travis npm package Coveralls

React Reveal Title will only ever reveal itself when it's in the viewport.

Demo

Link

Usage

import RevealTitle from '@casperengl/react-reveal-title';

export default () => (
  <RevealTitle
    delay={2} // Delay in seconds
    className="extra class names" // Will add any classes here to the title container
  >
    <h1>Hello, world!</h1> // React Children - will be inserted in a container
  <RevealTitle>
)

Readme

Keywords

Package Sidebar

Install

npm i @casperengl/react-reveal-title

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

9.77 kB

Total Files

5

Last publish

Collaborators

  • casperengl