Export the TouchBar items as their own props on the electron main export
This commit is contained in:
parent
d1b3ba39bd
commit
15dcc314d3
1 changed files with 36 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue