Skip to content

Commit 2523906

Browse files
committed
fix: props of 'ThemedDivider' in TAILWIND.md
1 parent 3a139c1 commit 2523906

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

TAILWIND.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ import type { DividerProps } from 'react-split-pane';
5454
function ThemedDivider({ direction, isDragging, disabled, ...props }: DividerProps) {
5555
return (
5656
<div
57+
{...props}
5758
className={cn(
58-
'flex items-center justify-center transition-colors',
59+
'shrink-0 flex items-center justify-center transition-colors',
5960
'bg-border hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring',
6061
direction === 'horizontal'
6162
? 'w-1 cursor-col-resize'
6263
: 'h-1 cursor-row-resize',
6364
isDragging && 'bg-primary',
6465
disabled && 'cursor-not-allowed opacity-50'
6566
)}
66-
{...props}
6767
/>
6868
);
6969
}

0 commit comments

Comments
 (0)