UNPKG

@dark-engine/platform-desktop

Version:

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

16 lines (15 loc) 575 B
import { type QCheckBoxSignals, QCheckBox } from '@nodegui/nodegui'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithStandardProps } from '../shared'; export type CheckBoxProps = WithStandardProps< { ref?: Ref<CheckBoxRef>; checked: boolean; text?: string; } & WidgetProps >; export type CheckBoxRef = QDarkCheckBox; export type CheckBoxSignals = QCheckBoxSignals; declare const CheckBox: ComponentFactory<CheckBoxProps>; declare class QDarkCheckBox extends QCheckBox {} export { CheckBox, QDarkCheckBox };