Skip to content

Commit 238dfb4

Browse files
committed
Neaten up the Volume component
1 parent 98d8508 commit 238dfb4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/components/Volume.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ class Volume extends Component {
99

1010
render() {
1111
return (
12-
<input type="range" value={this.props.value} min={this.props.min} max={this.props.max} step={this.props.step} onChange={this.props.onChange} />
12+
<input
13+
type="range"
14+
value={this.props.value}
15+
min={this.props.min}
16+
max={this.props.max}
17+
step={this.props.step}
18+
onChange={this.props.onChange}
19+
name="volume" />
1320
);
1421
}
1522
}

0 commit comments

Comments
 (0)