Expo

Documentation

Hi friend! Meet us at App.js Conf in Krakow, Poland on April 4th and 5th with workshops and talks. Learn more

View Style Props


Reference

TypeRequired
colorNo

TypeRequired
enum('visible', 'hidden')No

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
colorNo

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
colorNo

TypeRequired
enum('solid', 'dotted', 'dashed')No

TypeRequired
colorNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

TypeRequired
numberNo

(Android-only) Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.
TypeRequiredPlatform
numberNoAndroid