Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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-gargantext
Commits
9181d244
Commit
9181d244
authored
Apr 09, 2019
by
James Laver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Gargantext.Utils.Reactil to Gargantext.Utils.React
parent
5ad6e2ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
React.purs
src/Gargantext/Utils/React.purs
+14
-0
Reactil.purs
src/Gargantext/Utils/Reactil.purs
+0
-7
No files found.
src/Gargantext/Utils/React.purs
0 → 100644
View file @
9181d244
module Gargantext.Utils.React where
import Prelude
import Data.Array ((!!))
import Data.FoldableWithIndex (foldMapWithIndex)
import Data.Maybe (fromMaybe)
import React (ReactElement, Children)
-- TODO: Upgrade thermite and reapply our changes or upstream them and get rid of this
type WithChildren props = { children :: Children | props }
wrap :: (Array ReactElement -> ReactElement) -> ReactElement -> ReactElement
wrap f e = f [e]
src/Gargantext/Utils/Reactil.purs
deleted
100644 → 0
View file @
5ad6e2ea
module Gargantext.Utils.Reactil where
import Prelude
import React (ReactElement)
wrap :: (Array ReactElement -> ReactElement) -> ReactElement -> ReactElement
wrap f e = f [e]
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