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
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
Grégoire Locqueville
purescript-gargantext
Commits
8bd2e0b1
Commit
8bd2e0b1
authored
1 year ago
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding active className to buttons
parent
5f83b235
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ConfigForm.purs
...argantext/Components/PhyloExplorer/Config/ConfigForm.purs
+2
-2
No files found.
src/Gargantext/Components/PhyloExplorer/Config/ConfigForm.purs
View file @
8bd2e0b1
...
@@ -100,7 +100,7 @@ component = R.hooksComponent "configForm" cpt where
...
@@ -100,7 +100,7 @@ component = R.hooksComponent "configForm" cpt where
{ callback: \_ -> setter stateBox "defaultMode" $ show true
{ callback: \_ -> setter stateBox "defaultMode" $ show true
-- , variant: OutlinedButtonVariant Secondary
-- , variant: OutlinedButtonVariant Secondary
, variant: ButtonVariant Light
, variant: ButtonVariant Light
, className: state.
cliqueType == show fals
e ?
, className: state.
defaultMode == show tru
e ?
"active" $
"active" $
""
""
}
}
...
@@ -112,7 +112,7 @@ component = R.hooksComponent "configForm" cpt where
...
@@ -112,7 +112,7 @@ component = R.hooksComponent "configForm" cpt where
{ callback: \_ -> setter stateBox "defaultMode" $ show false
{ callback: \_ -> setter stateBox "defaultMode" $ show false
-- , variant: OutlinedButtonVariant Secondary
-- , variant: OutlinedButtonVariant Secondary
, variant: ButtonVariant Light
, variant: ButtonVariant Light
, className: state.
cliqueType == show tru
e ?
, className: state.
defaultMode == show fals
e ?
"active" $
"active" $
""
""
}
}
...
...
This diff is collapsed.
Click to expand it.
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