From 5d7934a68a88a3beb80ce0906ff1755f2fe28202 Mon Sep 17 00:00:00 2001 From: Syed Haani Hasan Date: Thu, 31 Aug 2017 10:14:04 -0700 Subject: [PATCH] Updated TextInput prop doc Summary: I am a web developer, who recently started coding for mobile apps using react-native. I was trying to use the `inlineImageLeft` props of TextInput, but I found that it's docs weren't sufficient. So a PR for it. No code change. Updated the docs under website folder. Screenshot for the change below. ![screen shot 2017-08-30 at 4 39 32 pm](https://user-images.githubusercontent.com/6011865/29869747-e73d9dde-8da1-11e7-912a-16e3115b8296.png) Closes https://github.com/facebook/react-native/pull/15708 Differential Revision: D5738795 Pulled By: hramos fbshipit-source-id: b8b6cbac5c50abd4d8a6ef8089dc9d92bc0b7f6f --- Libraries/Components/TextInput/TextInput.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index 3629efa2c..be140d7f6 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -513,6 +513,13 @@ const TextInput = createReactClass({ /** * If defined, the provided image resource will be rendered on the left. + * The image resource must be inside `/android/app/src/main/res/drawable` and referenced + * like + * ``` + * + * ``` * @platform android */ inlineImageLeft: PropTypes.string,