mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45452 With this we enable <View> to use BoxShadow. BoxShadow property can be a string as defined on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow Or it can also be a list of BoxShadow primitives: ``` [ { offsetX: 10, offsetY: 5, color: 'red', inset: true, }, { ... }, ] ``` The diff includes: * Style sheet changes so typing is valid * Process function to turn boxShadow format into parsed boxShadow primitive * Test for process function * View config changes on Android, iOS and ReactNativeStyleAttributes Changelog: [Internal] Reviewed By: joevilches Differential Revision: D57872933 fbshipit-source-id: 2c5732709959bd996cce2f979549fc95cf2410e2