@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
14 lines (13 loc) • 429 B
JavaScript
import { QInputDialog } from '@nodegui/nodegui';
import { component } from '@dark-engine/core';
import { qInputDialog } from '../factory';
const InputDialog = component(props => qInputDialog(props), {
displayName: 'InputDialog',
});
class QDarkInputDialog extends QInputDialog {
setOpen(value) {
value ? this.show() : this.close();
}
}
export { InputDialog, QDarkInputDialog };
//# sourceMappingURL=input-dialog.js.map