title: How do I merge two components in react
body: <p>In angular, I could apply two directives on one element.</p>
  
  <pre><code>&lt;div dir-one dir-two&gt;&lt;/div&gt;
  </code></pre>
  
  <p>What would be the equivalent in react? </p>