@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
18 lines (17 loc) • 564 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
exports.QDarkAction = exports.Action = void 0;
const nodegui_1 = require('@nodegui/nodegui');
const core_1 = require('@dark-engine/core');
const factory_1 = require('../factory');
const Action = (0, core_1.component)(props => (0, factory_1.qAction)(props), {
displayName: 'Action',
});
exports.Action = Action;
class QDarkAction extends nodegui_1.QAction {
setDisabled(value) {
this.setEnabled(!value);
}
}
exports.QDarkAction = QDarkAction;
//# sourceMappingURL=action.js.map