mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
22 lines
406 B
TypeScript
22 lines
406 B
TypeScript
import React from 'react';
|
|
import styles from './DragPreviewLayer.css';
|
|
|
|
interface DragPreviewLayerProps {
|
|
className?: string;
|
|
children?: React.ReactNode;
|
|
}
|
|
|
|
function DragPreviewLayer({
|
|
className = styles.dragLayer,
|
|
children,
|
|
...otherProps
|
|
}: DragPreviewLayerProps) {
|
|
return (
|
|
<div className={className} {...otherProps}>
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default DragPreviewLayer;
|