File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " purescript-react" ,
3
3
"files" : [],
4
4
"peerDependencies" : {
5
- "react" : " ^16.0.0-alpha.13 " ,
5
+ "react" : " ^16.0.0" ,
6
6
"create-react-class" : " ^15.6.0"
7
7
}
8
8
}
Original file line number Diff line number Diff line change @@ -402,11 +402,11 @@ createClass spc = runFn2 createClass' toNullable spc
402
402
-- | Create a stateless React class. When using a non anonymous function the
403
403
-- | displayName will be the capitalized name of the function, e.g.
404
404
-- | ``` purescript
405
- -- | helloWorld = createClassStatelesss hellowWorldCls
405
+ -- | helloWorld = createClassStatelesss helloWorldCls
406
406
-- | where
407
- -- | hellowWorldCls props = ...
407
+ -- | helloWorldCls props = ...
408
408
-- | ```
409
- -- | Then the `displayName` will be set up to `HellowWorldCls `
409
+ -- | Then the `displayName` will be set up to `HelloWorldCls `
410
410
foreign import createClassStateless :: forall props render .
411
411
ReactRender render =>
412
412
(props -> render ) -> ReactClass props
You can’t perform that action at this time.
0 commit comments