@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 { QColorDialog } from '@nodegui/nodegui';
import { component } from '@dark-engine/core';
import { qColorDialog } from '../factory';
const ColorDialog = component(props => qColorDialog(props), {
displayName: 'ColorDialog',
});
class QDarkColorDialog extends QColorDialog {
setOpen(value) {
value ? this.show() : this.close();
}
}
export { ColorDialog, QDarkColorDialog };
//# sourceMappingURL=color-dialog.js.map