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
Add ability to change element type #3
Comments
or the ability to add classes to the span wrapper would work as well |
I am experimenting on this. It won't be appropriate to add classes to the wrapper (using styled-components keyframes) |
Haven't tried this with Bootstrap v4. Are you sure that it causes issues ? |
How about if we enclose it like this ? <div>
<Bounce>
<p>Hello</p>
</Bounce>
</div> |
It causes issues with notices particularly (only place i've used them thus far... but here's with it being inline-block'd vs block'd inline block block I had to wrap it in a div with a class so i could target the span and force it to display block |
even if we couldnt add custom classes to it, a class to identify it would be super handy for this. atm there's no way to target that span without wrapping it. |
Ok. So what you are saying is that |
That may target the children nodes to display block. <div {...this.state.styles}>
{this.props.children}
</div> |
yes that would solve it but may cause backwards compat issues for other users of the lib which is why i was originally asking for the option to change it with a prop could be as simple as
which would then render a div vs a span |
I think this would be better. Thanks ! |
anytime! thanks for the library, saves me so much pain, just wish i handled components transitioning out. :( |
May be I would land the transitioning soon 😄 . |
Added support for rendering an animation component with prop |
Does |
By default you add a
span
but that causes issues with bootstrap v4 would be nice if we had the option to change it to say adiv
or something of the sorts...The text was updated successfully, but these errors were encountered: