mirror of
https://github.com/react/react-native.git
synced 2026-10-21 13:58:49 +08:00
Summary: Hook up onSuccess and onFailure callbacks to LayoutAnimations. Note that in non-Fabric RN, onSuccess is not known to work in Android. I could not find any uses of onFailure and it's not documented, so for now, it is only called if the setup of the animation fails. Changelog: [Internal] Reviewed By: shergin Differential Revision: D22889352 fbshipit-source-id: 4306debb350388dd2b7a2cbfe295eb99723988e2