1getInitialState: function() {
2 return {value: 3};
3},
4handleChange: function(event) {
5 this.setState({value: event.target.value});
6},
7render: function() {
8 return (
9 <input
10 id="typeinp"
11 type="range"
12 min="0" max="5"
13 value={this.state.value}
14 onChange={this.handleChange}
15 step="1"/>
16 );
17}
18