You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-07-09 01:05:40 +02:00
23 lines
433 B
JavaScript
23 lines
433 B
JavaScript
![]() |
import PropTypes from 'prop-types';
|
||
|
import React from 'react';
|
||
|
import styles from './DragPreviewLayer.css';
|
||
|
|
||
|
function DragPreviewLayer({ children, ...otherProps }) {
|
||
|
return (
|
||
|
<div {...otherProps}>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
DragPreviewLayer.propTypes = {
|
||
|
children: PropTypes.node,
|
||
|
className: PropTypes.string
|
||
|
};
|
||
|
|
||
|
DragPreviewLayer.defaultProps = {
|
||
|
className: styles.dragLayer
|
||
|
};
|
||
|
|
||
|
export default DragPreviewLayer;
|