title: How to pass Parameters with require tag in React
body: <p>I am implementing a dynamic rendering in React in that I am using syntax like </p>
  
  <pre><code> var Set=require('../../'+RecivedData.Id);
   React.render(&lt;CustomComponent inputType={Set} /&gt;,document.getElementById("secondCol"));
  </code></pre>
  
  <p>and my CustomComponent looks like </p>
  
  <pre><code>render: function() {
          var InputType=this.props.inputType;
          console.log(InputType)
          return (
  
              &lt;InputType /&gt;
  
           );
      },
  </code></pre>
  
  <p>I just want to know how I can pass the parameters, I mean to say if we use in static mode then we can use below mentioned syntax </p>
  
  <pre><code>var Item=require('../../Item');
    React.render(&lt;Item MetaItemName={"Users"} MetaItemId={1} Key={1}/&gt;,document.getElementById("firstCol")); 
  </code></pre>
  
  <p>Same Parameters I have to pass when I am using require dynamic rendering.</p>
  
  <p><strong>so can anyone please let me know the syntax to pass the parameters while using require</strong></p>