Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reallymemorable/28347e04b714ac9dd37aa32c859f1000 to your computer and use it in GitHub Desktop.
Save reallymemorable/28347e04b714ac9dd37aa32c859f1000 to your computer and use it in GitHub Desktop.
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