From e61257cd0a85bc4dc40d557998dc9a64802cee61 Mon Sep 17 00:00:00 2001 From: Niranjan Bhaskar Date: Mon, 31 Jul 2017 03:23:26 -0700 Subject: [PATCH] changed param of setSrc() method Summary: setSource() method of ReactImageView class accepts a ReadableArray and not a plain String. Closes https://github.com/facebook/react-native/pull/15280 Differential Revision: D5526483 Pulled By: javache fbshipit-source-id: 5bc8ca8e7e030f5a4968cccf8fcb7431612e1836 --- docs/NativeComponentsAndroid.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/NativeComponentsAndroid.md b/docs/NativeComponentsAndroid.md index 39eca1cc4..ed96eda2b 100644 --- a/docs/NativeComponentsAndroid.md +++ b/docs/NativeComponentsAndroid.md @@ -71,8 +71,8 @@ Setter declaration requirements for methods annotated with `@ReactPropGroup` are ```java @ReactProp(name = "src") - public void setSrc(ReactImageView view, @Nullable String src) { - view.setSource(src); + public void setSrc(ReactImageView view, @Nullable ReadableArray sources) { + view.setSource(sources); } @ReactProp(name = "borderRadius", defaultFloat = 0f)