Skip to content

Instantly share code, notes, and snippets.

@burabure
Created March 2, 2015 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burabure/3e3cd46e308cfd22e102 to your computer and use it in GitHub Desktop.
Save burabure/3e3cd46e308cfd22e102 to your computer and use it in GitHub Desktop.
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