mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 08:38:15 -05:00
add a hardcoded flag to display/hide token sets section
This commit is contained in:
parent
247e3a1559
commit
b3e939d12a
1 changed files with 4 additions and 2 deletions
|
@ -192,12 +192,14 @@
|
|||
{::mf/wrap [mf/memo]
|
||||
::mf/wrap-props false}
|
||||
[_props]
|
||||
(let [show-sets-section? false] ;; temporarily added this variable to see/hide the sets section till we have it working end to end
|
||||
[:div {:class (stl/css :sidebar-tab-wrapper)}
|
||||
(when show-sets-section?
|
||||
[:div {:class (stl/css :sets-section-wrapper)}
|
||||
[:& sets-sidebar]]
|
||||
[:& sets-sidebar]])
|
||||
[:div {:class (stl/css :tokens-section-wrapper)}
|
||||
[:& tokens-explorer]]
|
||||
[:button {:class (stl/css :download-json-button)
|
||||
:on-click wtc/download-tokens-as-json}
|
||||
download-icon
|
||||
"Export JSON"]])
|
||||
"Export JSON"]]))
|
||||
|
|
Loading…
Add table
Reference in a new issue