Add headers prop in source array type prop
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> My first contribution 👍 (Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!) Closes https://github.com/facebook/react-native/pull/16155 Differential Revision: D5962399 Pulled By: shergin fbshipit-source-id: b7a44d53d875b32d04c1b876eb7ec2f30a9d0d80
This commit is contained in:
parent
33f4779ed8
commit
ddc2210eba
|
@ -107,6 +107,7 @@ var Image = createReactClass({
|
|||
uri: PropTypes.string,
|
||||
width: PropTypes.number,
|
||||
height: PropTypes.number,
|
||||
headers: PropTypes.objectOf(PropTypes.string),
|
||||
}))
|
||||
]),
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue