title: Multiple component file connect to redux
body: <p>How I can connect file with multiple components to redux using connect() function?</p>
  <p>I have connected other components in the bottom component in export. It is possible to connect.</p>
  <p>I have connected other like this, but in file with multiple I can`t export like that.</p>
  <pre><code>const PageKierowcyTableView = (props) =&gt;{
  return (
      &lt;JSX&gt;
    )
  };
  export connect(mapStateToProps,actions)(PageKierowcyTableView )
  </code></pre>
  <pre><code>
  export const PageKierowcyTableView = (props) =&gt;{
  return (
      &lt;JSX&gt;
    )
  };
  
  
  export const PageRozliczeniaNaMoimAucieTable = (props) =&gt; {
    return (
      &lt;JSX&gt;
    );
  };
  
  export const PageRozliczeniaNaSwoimAucieTable = (props) =&gt; {
      return (
        &lt;JSX&gt;
      );
    };
  };
  </code></pre>