mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 07:37:26 -05:00
15 lines
344 B
TypeScript
15 lines
344 B
TypeScript
import { forwardRef, PropsWithChildren } from 'react';
|
|
import { cx } from '@sd/ui';
|
|
|
|
export default forwardRef<HTMLDivElement, PropsWithChildren & { className?: string }>(
|
|
(props, ref) => (
|
|
<div
|
|
data-tauri-drag-region
|
|
className={cx('flex h-5 w-full flex-shrink-0', props.className)}
|
|
ref={ref}
|
|
>
|
|
{props.children}
|
|
</div>
|
|
)
|
|
);
|