Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elsassph authored Oct 4, 2017
1 parent beb002a commit 7478eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React-router externs for Haxe

Simple externs for [react-router](https://github.com/ReactTraining/react-router) 3.0.0+
Simple externs for [react-router](https://github.com/ReactTraining/react-router) 3.0.0+ (not 4!)
for use with [Haxe react](https://github.com/massiveinteractive/haxe-react) 1.0.0+.

```haxe
Expand Down Expand Up @@ -56,7 +56,7 @@ class LoginContainer extends ReactComponent {
Otherwise you have to use the `Bundle.load` promise and follow the `getComponent`
callback API and use the HOC when the class is loaded.

### Q. what is the syntax to set an event handler
### Q. what is the syntax to set an event handler?

```haxe
<Route path="/" component=${Home} onEnter=${enterHandler} />
Expand Down

0 comments on commit 7478eb5

Please sign in to comment.