add base layout
This commit is contained in:
15
src/components/interaction-panel/sandbox.tsx
Normal file
15
src/components/interaction-panel/sandbox.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useAccountStore } from "@/contexts/AccountContext";
|
||||
import { observer } from "mobx-react-lite";
|
||||
|
||||
export const Sandbox = observer(() => {
|
||||
const { isSandboxOpen } = useAccountStore();
|
||||
|
||||
return (
|
||||
<div
|
||||
data-open={isSandboxOpen}
|
||||
className="w-0 data-[open=true]:w-[40svw] border-l-1 transition-all border-r p-0 bg-red-600"
|
||||
>
|
||||
SANDBOOOOX
|
||||
</div>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user