You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+28-26Lines changed: 28 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
# Migration Guide: v0.1.x to v3.0.0
1
+
# Migration Guide: v0.1.x / v2.x to v3.0.0
2
2
3
-
This guide will help you migrate from react-split-pane v0.1.x to v3.0.0. Version 3 is a complete rewrite with modern React patterns, TypeScript support, and improved accessibility.
3
+
This guide will help you migrate from react-split-pane v0.1.x or v2.x to v3.0.0. Version 3 is a complete rewrite with modern React patterns, TypeScript support, and improved accessibility.
4
+
5
+
> **Note:** v2.x shared the same API as v0.1.x, so this guide applies to both versions.
4
6
5
7
## Overview of Changes
6
8
@@ -15,7 +17,7 @@ v3.0.0 introduces several breaking changes:
@@ -174,7 +176,7 @@ The `ResizeEvent` object includes:
174
176
The `primary` prop has been removed. In v3, sizes are distributed proportionally when the container resizes. For controlled sizing, use the `size` prop on each `<Pane>`:
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -345,7 +345,7 @@ A subtle single-pixel divider:
345
345
346
346
React Split Pane works seamlessly with Tailwind CSS and shadcn/ui. See [TAILWIND.md](./TAILWIND.md) for detailed integration examples including custom dividers and CSS variable overrides.
347
347
348
-
## Migration from v0.1.x
348
+
## Migration from v0.1.x / v2.x
349
349
350
350
See [MIGRATION.md](./MIGRATION.md) for detailed migration guide.
0 commit comments