jeffcoh23 / zero-to-color-image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZeroToColorImage

Description

React component that takes an image and makes it go from black-and-white to color.

  • npm install --save zero-to-color-image
Example Usage
<ZeroToColorImage style={{height: '100vh'}} animationLength={5} imageSource={require('./jeff_south_africa.JPG')}/>

Props

animationLength (required): The duration of the conversation (in seconds from black to white)

imageSource (required): A string representation of the image source.

About


Languages

Language:JavaScript 99.4%Language:CSS 0.6%