Add `deprecated` flag for nativeImageSource
Summary: Looks like the native Image implementation used to treat old `image!` images slightly differently. This diff restores that behavior for `nativeImageSource`. {F65080365} Reviewed By: mmmulani Differential Revision: D4240506 fbshipit-source-id: d8d39216f86df32e0614d7cdc95df2148c85077a
This commit is contained in:
parent
97887c2a52
commit
1fe0f4d8ec
|
@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
|
|||
uri,
|
||||
width: spec.width,
|
||||
height: spec.height,
|
||||
deprecated: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue