This commit is contained in:
Martti Malmi 2021-09-27 19:22:18 +03:00
parent 4973dd041a
commit 5131e08084

View File

@ -41,7 +41,10 @@ class TextInput extends React.Component {
render() { render() {
return ( return (
<form class="box"> <form class="box">
<input placeholder="Type something" type="text" value={this.state.text} onChange={e => this.onInput(e)} /> <input placeholder="Type something"
type="text"
value={this.state.text}
onChange={e => this.onInput(e)} />
</form> </form>
); );
} }