Created
March 2, 2015 22:31
-
-
Save burabure/3e3cd46e308cfd22e102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (let angle of ViewportAngles) { | |
var checked = this.props.viewAngle === angle; | |
viewAngleOptions.push( | |
<div className="viewAngle"> | |
<input | |
type="radio" | |
name="viewportAngles" | |
id={angle} | |
value={angle} | |
key={angle} | |
checked={this.props.checked} | |
onChange={this._onChangeView} /> | |
<label htmlFor={angle}>{angle}</label> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment