UNPKG

@dark-engine/platform-desktop

Version:

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

15 lines (14 loc) 594 B
import { type QRadioButtonSignals, QRadioButton } from '@nodegui/nodegui'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithStandardProps } from '../shared'; export type RadioButtonProps = WithStandardProps< { ref?: Ref<RadioButtonRef>; text: string; } & WidgetProps >; export type RadioButtonRef = QDarkRadioButton; export type RadioButtonSignals = QRadioButtonSignals; declare const RadioButton: ComponentFactory<RadioButtonProps>; declare class QDarkRadioButton extends QRadioButton {} export { RadioButton, QDarkRadioButton };