Created
October 19, 2019 20:20
-
-
Save reallymemorable/28347e04b714ac9dd37aa32c859f1000 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Icon: | |
[:div {:class "bp3-button", :on-click #(js/confirm "App settings go here")} | |
[bp/icon {:icon "cog", :style {:color "#555555"}}] | |
] | |
Popup that I want to display on-click: | |
[:div {:class "bp3-dialog-container"} | |
[:div {:class "bp3-dialog"} | |
[:div {:class "bp3-dialog-header"} "Test Header"] | |
[:div {:class "bp3-dialog-body"} "Test Body"] | |
[:div {:class "bp3-dialog-footer"} "Test Footer"] | |
] | |
] | |
Relevant react library: | |
https://blueprintjs.com/docs/#core/components/dialog.css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment