mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 03:12:46 +08: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