title: How can I extend ScrollView to default properties in React Native?
body: <p>How can I extend <code>ScrollView</code> so that I can just use <code>MyScrollView</code> with my default properties?</p>
  
  <p>I would like to replace </p>
  
  <pre><code>&lt;ScrollView
       style={{ flex: 1 }}
       showsVerticalScrollIndicator={false}
       bounces={false}
       contentContainerStyle={{
                          paddingTop: 50,
                          paddingRight: 33,
                          paddingBottom: 60,
                          paddingLeft: 33
                      }}
  &gt;
  ...
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>with my own component by just using</p>
  
  <pre><code>&lt;MyScrollView&gt;
  ...
  &lt;/MyScrollView&gt;
  </code></pre>
  
  <p>I built my own components but they don't contain other components like Views do.</p>