mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Refactor CSS files and structure. Also refactors some html and React components for a smarter use of CSS classes.
12 lines
288 B
TypeScript
12 lines
288 B
TypeScript
import * as React from 'react';
|
|
|
|
const DragZone = ({dndProvided, isDragDisabled}) => (
|
|
<span
|
|
className={`drag-zone${isDragDisabled ? ' drag-zone-disabled' : ''}`}
|
|
{...dndProvided.dragHandleProps}
|
|
>
|
|
<span className="drag-icon"></span>
|
|
</span>
|
|
);
|
|
|
|
export default DragZone; |