react-animated-css icon indicating copy to clipboard operation
react-animated-css copied to clipboard

animations not working

Open vijayalakshmiNagaraj opened this issue 1 year ago • 1 comments

import React from 'react'; import 'animate.css'; import './style.css'; import { useEffect,useState } from 'react'; import { Image } from '@Components'; import { images } from '../ReferenceImages'; import { Animated } from 'react-animated-css'; import 'animate.css'

export const LoginAnimation = () => { const[isVisi,setISVisi]=useState(false) console.log(isVisi,"hfvckxbk")

return ( <div className='container-fluid'> <div className='row'> <div className='col-6'> <h1 className='' style={{ height: '500px' }}> demo

  <div className='col-6'>
 <Animated animationIn="slideInRight" animationOut="fadeOutLeftBig" animationInDuration={800} animationOutDuration={800} isVisible={isVisi} >
    <div> <h1>demo</h1></div>
 </Animated> 
 <button onClick={()=>{setISVisi(!isVisi)}}>click</button>
 <Image src={images.loginImage} className='bg-primary' height={'500px'} />
  </div>
  </div>

</div>

); };

vijayalakshmiNagaraj avatar Oct 07 '23 15:10 vijayalakshmiNagaraj

@vijayalakshmiNagaraj Hey there, can you show your package.json to me? I have the same problem with react 18

QuocVietHa08 avatar Apr 17 '24 07:04 QuocVietHa08