Skip to content

Commit 02f82fd

Browse files
committed
Updated code style of example.
1 parent 02687aa commit 02f82fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ import React from 'react'
3939
import ReactInputHandler from 'react-input-handler'
4040

4141
class Form extends React.Component {
42+
4243
constructor(props) {
4344
super(props)
4445
this.inputHandler = ReactInputHandler.bind(this)
4546
this.handleSubmit.bind(this)
4647
}
48+
4749
render() {
4850
return (
4951
<form>
@@ -64,8 +66,9 @@ class Form extends React.Component {
6466
handleSubmit(event) {
6567
event.preventDefault()
6668
console.log(this.state)
67-
// Output: { fullanme: "", bio: "", developer: "" }
69+
// Output: { fullanme: "string", bio: "string", developer: true|false }
6870
}
71+
6972
}
7073
```
7174

0 commit comments

Comments
 (0)