mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
export the Button class so that we can use it in plugins
This commit is contained in:
parent
eaafbccb53
commit
86a4a1f220
@ -1,5 +1,5 @@
|
||||
// Helper class for rendering a button
|
||||
var Button = function(action, label, icon, opts) {
|
||||
export var Button = function(action, label, icon, opts) {
|
||||
this.action = action;
|
||||
this.label = label;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user