mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
19 lines
406 B
TypeScript
19 lines
406 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
import { Icon } from '@grafana/ui';
|
||
|
|
||
|
export function SceneDragHandle({ layoutKey, className }: { layoutKey: string; className?: string }) {
|
||
|
return (
|
||
|
<div
|
||
|
className={`${className} grid-drag-handle-${layoutKey}`}
|
||
|
style={{
|
||
|
width: '20px',
|
||
|
height: '20px',
|
||
|
cursor: 'move',
|
||
|
}}
|
||
|
>
|
||
|
<Icon name="draggabledots" />
|
||
|
</div>
|
||
|
);
|
||
|
}
|