mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 17:43:00 +08:00
[change] transparent default Image backgroundColor
This commit is contained in:
committed by
Nicolas Gallagher
parent
b2a4d742a9
commit
e1da11fa1d
@@ -64,7 +64,7 @@ Defaults:
|
||||
```js
|
||||
{
|
||||
alignSelf: 'flex-start',
|
||||
backgroundColor: 'lightGray'
|
||||
backgroundColor: 'transparent'
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ const imageStyleKeys = Object.keys(ImageStylePropTypes)
|
||||
const styles = StyleSheet.create({
|
||||
initial: {
|
||||
alignSelf: 'flex-start',
|
||||
backgroundColor: 'lightgray',
|
||||
backgroundColor: 'transparent',
|
||||
backgroundPosition: 'center',
|
||||
backgroundRepeat: 'no-repeat',
|
||||
backgroundSize: 'cover'
|
||||
|
||||
Reference in New Issue
Block a user