mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Export the TouchBar items as their own props on the electron main export
This commit is contained in:
committed by
Kevin Sawicki
parent
d1b3ba39bd
commit
15dcc314d3
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user