Commit 8bd2e0b1 authored by Fabien Manière's avatar Fabien Manière

adding active className to buttons

parent 5f83b235
......@@ -100,7 +100,7 @@ component = R.hooksComponent "configForm" cpt where
{ callback: \_ -> setter stateBox "defaultMode" $ show true
-- , variant: OutlinedButtonVariant Secondary
, variant: ButtonVariant Light
, className: state.cliqueType == show false ?
, className: state.defaultMode == show true ?
"active" $
""
}
......@@ -112,7 +112,7 @@ component = R.hooksComponent "configForm" cpt where
{ callback: \_ -> setter stateBox "defaultMode" $ show false
-- , variant: OutlinedButtonVariant Secondary
, variant: ButtonVariant Light
, className: state.cliqueType == show true ?
, className: state.defaultMode == show false ?
"active" $
""
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment