0.3.0 • Published 5 years ago

react-glitch-fx v0.3.0

Weekly downloads
11
License
MIT
Repository
-
Last release
5 years ago

react-glitch-fx

npm version

Simply wrap your target element with <GlitchFx /> to start using react-glitch-fx:

import GlitchFx from 'react-glitch-fx/lib/GlitchFx';

class Component extends React.Component {

  render() {
    const { shouldShow, imageHeight, imageSrc } = this.props;
    return (<GlitchFx>
        <img src="./images/react.png" alt="test" />
    </GlitchFx>)

  }
}