This commit is contained in:
Alex Maclean
2018-08-17 07:54:43 +10:00
parent 4d292f7efd
commit 46fd914aeb

View File

@@ -69,11 +69,13 @@ class Test extends React.Component {
dndType="testNodeType"
placeholderRenderer={PlaceholderRenderer}
theme={theme}
shouldCopyOnOutsideDrop={true}
/>
<SortableTreeWithoutDndContext
treeData={[{title: "Title", subtitle: "Subtitle", children: []}]}
onChange={(treeData: TreeItem[]) => {}}
style={{width: "100px"}}
shouldCopyOnOutsideDrop={() => false}
/>
</div>
);