title: How to use Platform.OS to elements in react native?
body: <p>I want to use just KeyboardAwareScrollView without any functions on IOS and given below code for android. </p>
  
  <blockquote>
    <p>I know that I need to use Platform.OS === 'ios' ? : </p>
    
    <p>BUT I DON'T UNDERSTAND HOW TO REALISE IT. Please help me</p>
  </blockquote>
  
  <pre><code>render(){
   return(
  
      &lt;KeyboardAwareScrollView
         extraScrollHeight={100}
         enableOnAndroid={true}
         keyboardShouldPersistTaps='handled'
      &gt;
        &lt;TextInput
          style={styles.inputContainerStyle}
          label="Username"
          value={this.state.username}
          onChangeText={username =&gt; this.setState({ username })}
        /&gt;
      &lt;/KeyboardAwareScrollView&gt;
     )
  }
  </code></pre>
  
  <blockquote>
    <p>What I've tried below: (But it doesn't work)</p>
  </blockquote>
  
  <pre><code>&lt;KeyboardAwareScrollView
        Platform.OS === 'android' ? 
        (
           extraScrollHeight={100}
           enableOnAndroid={true}
           keyboardShouldPersistTaps='handled'
        ) : null
    &gt;
  </code></pre>