import { getCurrentWindow } from '@tauri-apps/api/window'; interface WindowDragRegionProps { className?: string; } export function WindowDragRegion({ className = '' }: WindowDragRegionProps) { return (
{ if (event.button === 0) { void getCurrentWindow().startDragging(); } }} /> ); }