title: React Native - How to add an image to TextInput?
body: <p>I would like to add an <code>image</code> to <code>TextInput</code>.
  Like Android's <code>Spannable</code> and IOS's <code>NSAttributedString</code></p>
  
  <pre><code>&lt;Text&gt;
  &lt;Text&gt; Test &lt;/ Text&gt;
  &lt;Image source = {myImage} /&gt;
  &lt;/Text&gt;
  </code></pre>
  
  <p>I get the results I want.</p>
  
  <p>However, it was not available in TextInput.
  If add <code>&lt;Image&gt;</code> or <code>&lt;Text&gt;</code> to a TextInput
  <code>[Object object]</code> appears.</p>
  
  <p>How can I add this?</p>
  
  <pre><code>addImage = () =&gt; {
    const { content } = this.state;
    this.setState({
      content: content + &lt;Image source={this.myImage} /&gt;
    })
  }
  
  &lt;TextInput
    ref={(c) =&gt; { this.input = c; }}
    multiline
    style={[styles.inputStyle, { height: inputHeight }]}
    underlineColorAndroid="transparent"
    placeholder="PlaceHolder"
    placeholderTextColor="#BCBCBC"
    value={content}
    onChangeText={text =&gt; changeContent(text)}
    onContentSizeChange={event =&gt; changeInputHeight(event)}
   /&gt;
   &lt;Button onPress={() =&gt; addImage()} /&gt;
  </code></pre>
  
  <p>same result</p>
  
  <pre><code>&lt;TextInput
        ref={(c) =&gt; { this.input = c; }}
        multiline
        style={[styles.inputStyle, { height: inputHeight }]}
        underlineColorAndroid="transparent"
        placeholder="PlaceHolder"
        placeholderTextColor="#BCBCBC"
        value={content}
        onChangeText={text =&gt; changeContent(text)}
        onContentSizeChange={event =&gt; changeInputHeight(event)}
       &gt;
         &lt;Text&gt;
           {content}
         &lt;/Text&gt;
       &lt;/TextInput
       &lt;Button onPress={() =&gt; addImage()} /&gt;
  </code></pre>
  
  <p>What I want is to say the image that goes between contents like emoji.
  It is not an image that is fixed to the left or right.</p>
  
  <p>this is React Native Bug 
  <a href="https://github.com/facebook/react-native/issues/18566" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/18566</a></p>