Native Animated - Support border radius
Summary: Border radius already works properly with native animated but was not in the whitelisted props. Tested in an app that animating border radius with native animated actually works. [GENERAL] [ENHANCEMENT] [NativeAnimated] - Support border radius Closes https://github.com/facebook/react-native/pull/18574 Differential Revision: D7415956 Pulled By: hramos fbshipit-source-id: 6dd46bcdcb10c6a1956dd1f526212f33a4f44425
This commit is contained in:
parent
15b25d854a
commit
e3941a18b1
|
@ -145,6 +145,15 @@ const API = {
|
|||
const STYLES_WHITELIST = {
|
||||
opacity: true,
|
||||
transform: true,
|
||||
borderRadius: true,
|
||||
borderBottomEndRadius: true,
|
||||
borderBottomLeftRadius: true,
|
||||
borderBottomRightRadius: true,
|
||||
borderBottomStartRadius: true,
|
||||
borderTopEndRadius: true,
|
||||
borderTopLeftRadius: true,
|
||||
borderTopRightRadius: true,
|
||||
borderTopStartRadius: true,
|
||||
/* ios styles */
|
||||
shadowOpacity: true,
|
||||
shadowRadius: true,
|
||||
|
|
Loading…
Reference in New Issue