title: How to add padding/margin to all child component from parent View component in react native?
body: <p>I want to add same padding/margin to all of my child component(<code>Icon</code>) just putting style in <code>View</code> component. How can I achieve?</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;View style={{flexDirection: "row",}}&gt;
      &lt;Icon name={'star'} color={Gold} size={14}/&gt;
      &lt;Icon name={'star'} color={Gold} size={14}/&gt;
      &lt;Icon name={'star'} color={Gold} size={14}/&gt;
      &lt;Icon name={'star'} color={Gold} size={14}/&gt;
  &lt;/View&gt;
  </code></pre>