title: Why container styles are not applying to View component in React native
body: <p>I am working on a React project, In that project why container styles are not applying to View
  Component in react native.</p>
  
  <p>This is App.js</p>
  
  <pre><code>import React from 'react';
  import {View, Text, StyleSheet} from 'react-native';
  
  const App = () =&gt; {
    return (
      &lt;View style={([styles.container], {flex: 1}, {flexDirection: 'column'})}&gt;
        &lt;View style={{width: 50, height: 50, backgroundColor: 'powderblue'}} /&gt;
        &lt;View style={{width: 50, height: 50, backgroundColor: 'skyblue'}} /&gt;
        &lt;View style={{width: 50, height: 50, backgroundColor: 'steelblue'}} /&gt;
      &lt;/View&gt;
    );
  };
  
  const styles = StyleSheet.create({
    container: {
      padding: 10,
      marginTop: 10,
    },
  });
  
  export default App;
  
  </code></pre>