mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-16 05:56:47 +01:00
15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import classnames from 'classnames';
|
|
import type { HTMLAttributes } from 'react';
|
|
|
|
type Props = HTMLAttributes<HTMLDivElement>;
|
|
|
|
export function WindowDragRegion({ className, ...props }: Props) {
|
|
return (
|
|
<div
|
|
data-tauri-drag-region
|
|
className={classnames(className, 'w-full h-10 flex-shrink-0')}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|