Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathuo committed Mar 10, 2025
1 parent e34fb43 commit 090f2d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/core/dnd/dragAndDrop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ The dock makes heavy use of drag and drop functionalities.

# Drag And Drop

You can override the conditions of the far edge overlays through the `rootOverlayModel` prop.
You can override the conditions of the far edge overlays through the `dndEdges` prop.

```tsx
<DockviewReact
{...props}
rootOverlayModel={{
dndEdges={{
size: { value: 100, type: 'pixels' },
activationSize: { value: 5, type: 'percentage' },
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const DndDockview = (props: { renderVisibleOnly: boolean; theme?: string }) => {
onReady={onReady}
className={`${props.theme || 'dockview-theme-abyss'}`}
onDidDrop={onDidDrop}
rootOverlayModel={{
dndEdges={{
size: { value: 100, type: 'pixels' },
activationSize: { value: 5, type: 'percentage' },
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const DndDockview = (props: { renderVisibleOnly: boolean; theme?: string }) => {
onReady={onReady}
className={`${props.theme || 'dockview-theme-abyss'}`}
onDidDrop={onDidDrop}
rootOverlayModel={{
dndEdges={{
size: { value: 100, type: 'pixels' },
activationSize: { value: 5, type: 'percentage' },
}}
Expand Down

0 comments on commit 090f2d2

Please sign in to comment.