Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

animations not working #55

Open
vijayalakshmiNagaraj opened this issue Oct 7, 2023 · 1 comment
Open

animations not working #55

vijayalakshmiNagaraj opened this issue Oct 7, 2023 · 1 comment

Comments

@vijayalakshmiNagaraj
Copy link

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 (




<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>

);
};

@QuocVietHa08
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants