Skip to content

Commit eb0767d

Browse files
committed
Update react peerDependency
1 parent 465bf4f commit eb0767d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "purescript-react",
33
"files": [],
44
"peerDependencies": {
5-
"react": "^16.0.0-alpha.13",
5+
"react": "^16.0.0",
66
"create-react-class": "^15.6.0"
77
}
88
}

src/React.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,11 +402,11 @@ createClass spc = runFn2 createClass' toNullable spc
402402
-- | Create a stateless React class. When using a non anonymous function the
403403
-- | displayName will be the capitalized name of the function, e.g.
404404
-- | ``` purescript
405-
-- | helloWorld = createClassStatelesss hellowWorldCls
405+
-- | helloWorld = createClassStatelesss helloWorldCls
406406
-- | where
407-
-- | hellowWorldCls props = ...
407+
-- | helloWorldCls props = ...
408408
-- | ```
409-
-- | Then the `displayName` will be set up to `HellowWorldCls`
409+
-- | Then the `displayName` will be set up to `HelloWorldCls`
410410
foreign import createClassStateless :: forall props render.
411411
ReactRender render =>
412412
(props -> render) -> ReactClass props

0 commit comments

Comments
 (0)