mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-15 16:23:25 +01:00
18 lines
356 B
TypeScript
18 lines
356 B
TypeScript
import classNames from 'classnames';
|
|
import type { ReactNode } from 'react';
|
|
|
|
interface Props {
|
|
className?: string;
|
|
children?: ReactNode;
|
|
}
|
|
|
|
export function WindowDragRegion({ className, ...props }: Props) {
|
|
return (
|
|
<div
|
|
data-tauri-drag-region
|
|
className={classNames(className, 'w-full flex-shrink-0')}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|