react-water-wave icon indicating copy to clipboard operation
react-water-wave copied to clipboard

Testing

Open homerchen19 opened this issue 7 years ago • 1 comments

I have tried some ways to test this component, but I still can't make it. 😢

homerchen19 avatar Aug 16 '18 02:08 homerchen19

I was trying to implement this component but it's not working. my code is very simple:

...
<div className="col-xs-12 col-md-3 first-xs last-md center-xs first-md">
    <WaterWave imageUrl={phibi}>
        {({play, pause}) => (
            <div className="phibi">
                <img src={phibi} alt="Phibi" />
            </div>
        )}
    </WaterWave>
</div>
...

but I get this error screenshot 2019-02-06 at 14 08 09

EDIT: I was able to make it work.. my problem was that I wasn't using the version of react with hooks implemented.. so I just download the previous version of the plugin and it worked.

mmbrtstd avatar Feb 06 '19 14:02 mmbrtstd