File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff 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 `
410410foreign import createClassStateless :: forall props render .
411411 ReactRender render =>
412412 (props -> render ) -> ReactClass props
You can’t perform that action at this time.
0 commit comments