View Style Props
Props
borderTopColor
backgroundColor
borderBottomLeftRadius
borderBottomRightRadius
borderColor
borderLeftColor
borderRadius
borderRightColor
borderStyle
borderBottomColor
borderTopLeftRadius
borderTopRightRadius
opacity
overflow
shadowColor
shadowOffset
shadowOpacity
shadowRadius
Reference
Props
borderTopColor
Type | Required |
---|---|
string | No |
backgroundColor
Type | Required |
---|---|
string | No |
borderBottomLeftRadius
Type | Required |
---|---|
number | No |
borderBottomRightRadius
Type | Required |
---|---|
number | No |
borderColor
Type | Required |
---|---|
string | No |
borderLeftColor
Type | Required |
---|---|
string | No |
borderRadius
Type | Required |
---|---|
number | No |
borderRightColor
Type | Required |
---|---|
string | No |
borderStyle
Type | Required |
---|---|
enum('solid', 'dotted', 'dashed') | No |
borderBottomColor
Type | Required |
---|---|
string | No |
borderTopLeftRadius
Type | Required |
---|---|
number | No |
borderTopRightRadius
Type | Required |
---|---|
number | No |
opacity
Type | Required |
---|---|
number | No |
overflow
Type | Required |
---|---|
enum('visible', 'hidden') | No |
shadowColor
Type | Required |
---|---|
string | No |
shadowOffset
Type | Required |
---|---|
object: {width: number,height: number} | No |
shadowOpacity
Type | Required |
---|---|
number | No |
shadowRadius
Type | Required |
---|---|
number | No |