UNPKG

@dark-engine/platform-desktop

Version:

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

18 lines (17 loc) 577 B
import { type QWidget } from '@nodegui/nodegui'; import { BlurHint } from '@nodegui/nodegui/dist/lib/QtWidgets/QGraphicsBlurEffect'; import { type ComponentFactory, type Ref } from '@dark-engine/core'; import type { WidgetProps, WithSlotProps } from '../shared'; export type BlurEffectProps = WithSlotProps< { ref?: Ref<BlurEffectRef>; blurRadius: number; blurHint?: BlurHint; disabled?: boolean; } & WidgetProps >; export type BlurEffectRef<T = QWidget> = { node: T; }; declare const BlurEffect: ComponentFactory<BlurEffectProps>; export { BlurEffect };