UNPKG

@dark-engine/platform-desktop

Version:

Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt

14 lines (13 loc) 419 B
import { QFontDialog } from '@nodegui/nodegui'; import { component } from '@dark-engine/core'; import { qFontDialog } from '../factory'; const FontDialog = component(props => qFontDialog(props), { displayName: 'FontDialog', }); class QDarkFontDialog extends QFontDialog { setOpen(value) { value ? this.show() : this.close(); } } export { FontDialog, QDarkFontDialog }; //# sourceMappingURL=font-dialog.js.map