[change] transparent default Image backgroundColor

This commit is contained in:
Kirill Korolyov
2015-12-07 20:14:47 +00:00
committed by Nicolas Gallagher
parent b2a4d742a9
commit e1da11fa1d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ Defaults:
```js ```js
{ {
alignSelf: 'flex-start', alignSelf: 'flex-start',
backgroundColor: 'lightGray' backgroundColor: 'transparent'
} }
``` ```
+1 -1
View File
@@ -17,7 +17,7 @@ const imageStyleKeys = Object.keys(ImageStylePropTypes)
const styles = StyleSheet.create({ const styles = StyleSheet.create({
initial: { initial: {
alignSelf: 'flex-start', alignSelf: 'flex-start',
backgroundColor: 'lightgray', backgroundColor: 'transparent',
backgroundPosition: 'center', backgroundPosition: 'center',
backgroundRepeat: 'no-repeat', backgroundRepeat: 'no-repeat',
backgroundSize: 'cover' backgroundSize: 'cover'