mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
committed by
Facebook Github Bot
parent
97887c2a52
commit
1fe0f4d8ec
@@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
|
||||
uri,
|
||||
width: spec.width,
|
||||
height: spec.height,
|
||||
deprecated: true,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user