We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b87fd3a commit b28e140Copy full SHA for b28e140
components/drag-handle/index.tsx
@@ -8,7 +8,7 @@ import type { HTMLAttributes } from 'react';
8
*/
9
10
export const DragHandle: React.FC<HTMLAttributes<HTMLSpanElement>> = (props) => (
11
- <span {...props}>
+ <span {...props} style={{ cursor: props['aria-pressed'] ? 'grabbing' : 'grab' }}>
12
<svg
13
style={{ marginRight: '10px', cursor: 'grab', flexShrink: 0 }}
14
width="18"
0 commit comments