W3cubDocs

/ReactNative

Shadow Props

Props

Reference

Props

shadowColor

Sets the drop shadow color

Type Required Platform
color No iOS

shadowOffset

Sets the drop shadow offset

Type Required Platform
object: {width: number,height: number} No iOS

shadowOpacity

Sets the drop shadow opacity (multiplied by the color's alpha component)

Type Required Platform
number No iOS

shadowRadius

Sets the drop shadow blur radius

Type Required Platform
number No iOS

© 2015–2018 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://facebook.github.io/react-native/docs/shadow-props