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:
Janic Duplessis 2018-03-27 15:04:07 -07:00 committed by Facebook Github Bot
parent 15b25d854a
commit e3941a18b1
1 changed files with 9 additions and 0 deletions

View File

@ -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,