mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 21:53:30 +00:00
Make style property available in Image.android.js like Image.ios.js
Summary: Thanks ahanriat for pointing out :) Closes https://github.com/facebook/react-native/pull/4618 Reviewed By: svcscm Differential Revision: D2729582 Pulled By: androidtrunkagent fb-gh-sync-id: df7b9af24cc035c7a9618a7850d628961fcd776b
This commit is contained in:
parent
ec11e6abff
commit
abea6c30b4
@ -63,7 +63,8 @@ var ImageViewAttributes = merge(ReactNativeViewAttributes.UIView, {
|
||||
var Image = React.createClass({
|
||||
propTypes: {
|
||||
...View.propTypes,
|
||||
/**
|
||||
style: StyleSheetPropType(ImageStylePropTypes),
|
||||
/**
|
||||
* `uri` is a string representing the resource identifier for the image, which
|
||||
* could be an http address, a local file path, or the name of a static image
|
||||
* resource (which should be wrapped in the `require('image!name')` function).
|
||||
|
Loading…
x
Reference in New Issue
Block a user