Why doesn't the animation-name property work in React Native?

Viewed 136

Why doesn't the animation-name? property seem to work in React Native? I am getting this error: Invariant Violation: "animationName" is not a valid style property.

1 Answers

React-native does not work with the DOM (as normal web-browsers do), but has their own components for doing certain things, for example animations.

You can use Animated LayoutAnimation to do this

Related