Files
spacedrive/interface/components/DragRegion.tsx
Utku fd8c0f87b3 [ENG-1067] Update phosphor to new package & update sort imports (#1330)
* ianvs > trivago

* @phosphor-icons/react > phosphor-react
2023-09-11 15:26:44 +00:00

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>
)
);