mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
9d3292069d
Summary: This adds the ability to nest animated styles and is a follow up to #11030 . **Test plan (required)** Verify a component with a shadowOffset animation animates. Example: ``` <Animated.View style={{ shadowOffset: { width: 0, height: this._pressAnim.interpolate({ inputRange: [0, 1], outputRange: [20, 5], }), }, }}, /> ``` ![example](https://cloud.githubusercontent.com/assets/19673711/23878825/e29f6ae4-0806-11e7-8650-9cff1f591204.gif) Closes https://github.com/facebook/react-native/pull/12909 Differential Revision: D4723933 fbshipit-source-id: 751d7ceb4f9bb22283fb14a5e597730ffd1d9ff6