How to do multiple check option in React js?
<p>Basically i'm having two kind of arrays. One for all checkbox values and another one for custom values. So, my requirement is i want to be get selected the values from custom array value by default to the checkbox options. How to implement with reactjs? </p>

<p>This is my sample code,</p>

<pre><code>var optionArray = ['item1', 'item2', 'item3', 'item4', 'item5', 'item6', 'item7'], selectedValue = ['item1', 'item5'];

var Items = optionArray.map(function(el, i){
var isChecked = el == selectedValue;
                return &lt;div key={i} className="radio-tick-row"&gt;
                    &lt;input type="checkbox" className="radio-tick-input" id={"option"+i} value={el} name="selectOrganisationType" onChange={self.onChange.bind(self)} checked={isChecked} /&gt;
                    &lt;label className="checkbox-tick-label term" htmlFor={"option"+i}&gt;&lt;span&gt;{el}&lt;/span&gt;&lt;/label&gt;
                &lt;/div&gt;;
        });
</code></pre>