@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
14 lines (13 loc) • 371 B
JavaScript
import { QAction } from '@nodegui/nodegui';
import { component } from '@dark-engine/core';
import { qAction } from '../factory';
const Action = component(props => qAction(props), {
displayName: 'Action',
});
class QDarkAction extends QAction {
setDisabled(value) {
this.setEnabled(!value);
}
}
export { Action, QDarkAction };
//# sourceMappingURL=action.js.map