fix(select): select rect position

This commit is contained in:
austaras
2022-07-25 11:15:14 +08:00
parent a4132f5f8a
commit 95629486b3
7 changed files with 44 additions and 54 deletions

View File

@@ -0,0 +1,19 @@
import { styled } from '@toeverything/components/ui';
import { DndTree } from './DndTree';
import { useDndTreeAutoUpdate } from './use-page-tree';
const Root = styled('div')({
minWidth: 160,
maxWidth: 260,
marginLeft: 18,
marginRight: 6,
});
export const PageTree = () => {
useDndTreeAutoUpdate();
return (
<Root>
<DndTree collapsible removable />
</Root>
);
};