title: How to create a scrollable box in React Native?
body: <p>I want to create a box of Terms and conditions in which data can be scrolled. I tried it using <code>TextInput</code> like below but it doesn't scrolls.</p>
  
  <pre><code> &lt;TextInput 
          multiline={true}
          value={data}
          editable={false}
          scrollEnabled={true}
          style={styles.termsAndConditionsStyle}
    /&gt;
  </code></pre>
  
  <p><strong>second alternative</strong></p>
  
  <p>I also tried it this way, it works but it gives me a yellow screen <strong>warning</strong> which says - You are binding a method component to the component. React does this for you automatically in a high performance way, so you can safely remove this call. See ScrollView.</p>
  
  <pre><code> &lt;ScrollView  style={styles.termsAndConditionsStyle}&gt;
             &lt;Text&gt;
                 // some large text
             &lt;/Text&gt;
     &lt;/ScrollView&gt;
  </code></pre>
  
  <p><strong>Solution</strong> - Actually I imported <code>ScrollView</code> from <code>react-native-gesture-handler</code> instead of <code>react-native</code></p>