Shadow Props
- TypeScript
- JavaScript
Reference
Propsβ
shadowColorβ
Sets the drop shadow color.
This property will only work on Android API 28 and above. For similar functionality on lower Android APIs, use the elevation property.
| Type |
|---|
| color |
shadowOffset iOSβ
Sets the drop shadow offset.
| Type |
|---|
| object: {width: number,height: number} |
shadowOpacity iOSβ
Sets the drop shadow opacity (multiplied by the color's alpha component).
| Type |
|---|
| number |
shadowRadius iOSβ
Sets the drop shadow blur radius.
| Type |
|---|
| number |