Export the TouchBar items as their own props on the electron main export

This commit is contained in:
Samuel Attard 2016-12-02 23:43:42 +11:00 committed by Kevin Sawicki
parent d1b3ba39bd
commit 15dcc314d3

View file

@ -109,6 +109,42 @@ Object.defineProperties(exports, {
return require('../touch-bar')
}
},
TouchBarButton: {
enumerable: true,
get: function () {
return require('../touch-bar').Button
}
},
TouchBarColorPicker: {
enumerable: true,
get: function () {
return require('../touch-bar').ColorPicker
}
},
TouchBarGroup: {
enumerable: true,
get: function () {
return require('../touch-bar').Group
}
},
TouchBarLabel: {
enumerable: true,
get: function () {
return require('../touch-bar').Label
}
},
TouchBarPopOver: {
enumerable: true,
get: function () {
return require('../touch-bar').PopOver
}
},
TouchBarSlider: {
enumerable: true,
get: function () {
return require('../touch-bar').Slider
}
},
Tray: {
enumerable: true,
get: function () {