@dark-engine/platform-desktop
Version:
Dark renderer to desktop platforms like Windows, Linux, macOS via Nodegui and Qt
14 lines (13 loc) • 475 B
TypeScript
import { QLabel } from '@nodegui/nodegui';
import { type ComponentFactory, type Ref, type TextBased } from '@dark-engine/core';
import type { WidgetProps, WithPartialSlotProps } from '../shared';
export type TextProps = WithPartialSlotProps<
{
ref?: Ref<TextRef>;
} & WidgetProps,
TextBased | Array<TextBased>
>;
export type TextRef = QDarkText;
declare const Text: ComponentFactory<TextProps>;
declare class QDarkText extends QLabel {}
export { Text, QDarkText };