You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I will have to use a Lottie animation in buttons, for loading buttons. But the animation is in a div container, which is invalid to put in buttons (and HTML validation is really important to me).
Describe the solution you'd like
I would like to have a "component" (or any other naming) prop on the Lottie element, to let us choose the markup of the animation container.
Is your feature request related to a problem? Please describe.
I will have to use a Lottie animation in buttons, for loading buttons. But the animation is in a div container, which is invalid to put in buttons (and HTML validation is really important to me).
Describe the solution you'd like
I would like to have a "component" (or any other naming) prop on the Lottie element, to let us choose the markup of the animation container.
Describe alternatives you've considered
I don't have an alternative for now…
Additional context
The container is defined here: https://github.com/Gamote/lottie-react/blob/main/src/hooks/useLottie.tsx#L323 if I'm not mistaken.
Thanks a lot(…tie)(sorry).
The text was updated successfully, but these errors were encountered: