Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-reactix
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-reactix
Commits
3a7884c5
Commit
3a7884c5
authored
Oct 13, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix
parent
693eea23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
React.purs
src/Reactix/React.purs
+3
-3
No files found.
src/Reactix/React.purs
View file @
3a7884c5
...
...
@@ -101,8 +101,8 @@ staticComponent name c = Component $ named name $ mkEffectFn1 c'
c' :: Record props -> Effect Element
c' props = pure $ c props (children props)
staticComponentWithModule :: forall props. Module -> String -> StaticComponent props ->
R.
Component props
staticComponentWithModule module' name c =
R.
staticComponent (module' <> "." <> name) c
staticComponentWithModule :: forall props. Module -> String -> StaticComponent props -> Component props
staticComponentWithModule module' name c = staticComponent (module' <> "." <> name) c
-- | The type of a function that can be turned into a component with
-- | `hooksComponent`. Will have access to the `Hooks` Monad.
...
...
@@ -115,7 +115,7 @@ hooksComponent name c = Component $ named name $ mkEffectFn1 c'
c' :: Record props -> Effect Element
c' props = runHooks $ c props (children props)
hooksComponentWithModule :: forall props. Module -> String -> HooksComponent props ->
R.
Component props
hooksComponentWithModule :: forall props. Module -> String -> HooksComponent props -> Component props
hooksComponentWithModule module' name c = hooksComponent (module' <> "." <> name) c
rawCreateElement :: forall c p cs. c -> p -> Array cs -> Element
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment