Skip to content

Commit b28e140

Browse files
committed
improvise cursor
1 parent b87fd3a commit b28e140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/drag-handle/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { HTMLAttributes } from 'react';
88
*/
99

1010
export const DragHandle: React.FC<HTMLAttributes<HTMLSpanElement>> = (props) => (
11-
<span {...props}>
11+
<span {...props} style={{ cursor: props['aria-pressed'] ? 'grabbing' : 'grab' }}>
1212
<svg
1313
style={{ marginRight: '10px', cursor: 'grab', flexShrink: 0 }}
1414
width="18"

0 commit comments

Comments
 (0)