Skip to content

Commit b7dec23

Browse files
committed
docs: start external drag
1 parent 84a0565 commit b7dec23

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/docs/docs/dnd/2-foreign-dnd.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,21 @@ slug: "/dnd/foreign-dnd"
33
title: "Dragging in or out of tree"
44
category: draganddrop
55
---
6+
import {DemoBox} from "../../src/components/demo/demo-box";
7+
8+
<!-- TODO rendering the initial story doesnt work -->
69

710
# Dragging in or out of tree
811

12+
913
## Dragging tree items out of tree
1014

15+
<DemoBox tags={["feature/dnd"]} initialStory="react-drag-and-drop-drag-outside--drag-outside" />
16+
1117
## Dragging foreign objects inside of tree
1218

19+
<DemoBox tags={["feature/dnd"]} initialStory="react-drag-and-drop-drag-inside--drag-inside" />
20+
1321
## Interactions between multiple instances of Headless Tree
22+
23+
<DemoBox tags={["feature/dnd"]} initialStory="react-guides-multiple-trees--multiple-trees" />

packages/sb-react/src/guides/multiple-trees.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import cx from "classnames";
1313

1414
const meta = {
1515
title: "React/Guides/Multiple Trees",
16+
tags: ["feature/dnd"],
1617
} satisfies Meta;
1718

1819
export default meta;

0 commit comments

Comments
 (0)