Skip to content

Instantly share code, notes, and snippets.

View vinniejames's full-sized avatar
🎱
Building

Vinnie James vinniejames

🎱
Building
View GitHub Profile
@adamloving
adamloving / react-toggle.js
Created October 22, 2015 18:47
Bootstrap button group toggle react js example
var ProjectForm = React.createClass({
getInitialState: function() {
return { headerText: 'nothing' }
},
handleToggleChange: function(value) {
this.setState({ headerText: value.toUpperCase() })
},
render: function() {
return (
<form>