Skip to content

Commit

Permalink
Make style property available in Image.android.js like Image.ios.js
Browse files Browse the repository at this point in the history
Summary:
Thanks ahanriat for pointing out  :)
Closes #4618

Reviewed By: svcscm

Differential Revision: D2729582

Pulled By: androidtrunkagent

fb-gh-sync-id: df7b9af24cc035c7a9618a7850d628961fcd776b
  • Loading branch information
sathis authored and facebook-github-bot-5 committed Dec 7, 2015
1 parent ec11e6a commit abea6c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libraries/Image/Image.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit abea6c3

Please sign in to comment.