Skip to content

Commit

Permalink
Update react peerDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ethul committed Nov 2, 2017
1 parent 465bf4f commit eb0767d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "purescript-react",
"files": [],
"peerDependencies": {
"react": "^16.0.0-alpha.13",
"react": "^16.0.0",
"create-react-class": "^15.6.0"
}
}
6 changes: 3 additions & 3 deletions src/React.purs
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ createClass spc = runFn2 createClass' toNullable spc
-- | Create a stateless React class. When using a non anonymous function the
-- | displayName will be the capitalized name of the function, e.g.
-- | ``` purescript
-- | helloWorld = createClassStatelesss hellowWorldCls
-- | helloWorld = createClassStatelesss helloWorldCls
-- | where
-- | hellowWorldCls props = ...
-- | helloWorldCls props = ...
-- | ```
-- | Then the `displayName` will be set up to `HellowWorldCls`
-- | Then the `displayName` will be set up to `HelloWorldCls`
foreign import createClassStateless :: forall props render.
ReactRender render =>
(props -> render) -> ReactClass props
Expand Down

0 comments on commit eb0767d

Please sign in to comment.