UNPKG

@dark-engine/platform-desktop

Version:

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

18 lines (17 loc) 665 B
import { type QIcon, type QSize, type QPushButtonSignals, QPushButton } from '@nodegui/nodegui'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithStandardProps } from '../shared'; export type PushButtonProps = WithStandardProps< { ref?: Ref<PushButtonRef>; text?: string; icon?: QIcon; iconSize?: QSize; flat?: boolean; } & WidgetProps >; export type PushButtonRef = QDarkPushButton; export type PushButtonSignals = QPushButtonSignals; declare const PushButton: ComponentFactory<PushButtonProps>; declare class QDarkPushButton extends QPushButton {} export { PushButton, QDarkPushButton };