UNPKG

@dark-engine/platform-desktop

Version:

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

20 lines (19 loc) 650 B
import { type QSpinBoxSignals, QSpinBox } from '@nodegui/nodegui'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithStandardProps } from '../shared'; export type SpinBoxProps = WithStandardProps< { ref?: Ref<SpinBoxRef>; value: number; maximum?: number; minimum?: number; prefix?: string; suffix?: string; singleStep?: number; } & WidgetProps >; export type SpinBoxRef = QDarkSpinBox; export type SpinBoxSignals = QSpinBoxSignals; declare const SpinBox: ComponentFactory<SpinBoxProps>; declare class QDarkSpinBox extends QSpinBox {} export { SpinBox, QDarkSpinBox };