mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-30 09:19:21 +00: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
|
```js
|
||||||
{
|
{
|
||||||
alignSelf: 'flex-start',
|
alignSelf: 'flex-start',
|
||||||
backgroundColor: 'lightGray'
|
backgroundColor: 'transparent'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user