We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I had a use case (nav) where I eventually wrapped <LI>s with <DIV>s just to get onMouseOver/Out.
<LI>
<DIV>
Would it make sense for react-animate-on-change to pass these events (perhaps onClick as well?)
It would have been great if I could have done:
<AnimateOnChange customTag="li" baseClassName="nav-item" animationClassName="animated bounce" animate={this.state.hover} onMouseOver={this.handleMouseOver} onMouseOut={this.handleMouseOut} > <Link className={'nav-link' + (Boolean(this.props.active) ? ' active' : '')} to={this.props.to}>{this.props.children}</Link> </AnimateOnChange>
instead of:
<div style={{display: 'inline'}} onMouseOver={this.handleMouseOver} onMouseOut={this.handleMouseOut}> <AnimateOnChange customTag="li" baseClassName="nav-item" animationClassName="animated bounce" animate={this.state.hover} > <Link className={'nav-link' + (Boolean(this.props.active) ? ' active' : '')} to={this.props.to}>{this.props.children}</Link> </AnimateOnChange> </div>
The text was updated successfully, but these errors were encountered:
Hi, I created a pool request #31 that would be able to forward custom props
Sorry, something went wrong.
Fixed in #31, released in v2.2.0.
v2.2.0
No branches or pull requests
I had a use case (nav) where I eventually wrapped
<LI>
s with<DIV>
s just to get onMouseOver/Out.Would it make sense for react-animate-on-change to pass these events (perhaps onClick as well?)
It would have been great if I could have done:
instead of:
The text was updated successfully, but these errors were encountered: