Skip to content

Commit

Permalink
moved SidePaneWrapper to IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
ashit-rath committed Oct 21, 2024
1 parent 2d96cc6 commit 3639094
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions app/client/src/IDE/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ export { default as IDEBottomView } from "./Components/BottomView";
* It switches between different editor states
*/
export { default as IDESidebar } from "./Components/Sidebar";
/**
* IDESidePaneWrapper is used as a wrapper for side panes, which provides a border and optional padding
* and enforces 100% width and height to the parent.
*/
export { default as IDESidePaneWrapper } from "./Components/SidePaneWrapper";

/* ====================================================
**** Interfaces ****
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";
import JSLibrariesSection from "pages/Editor/IDE/LeftPane/JSLibrariesSection";
import SidePaneWrapper from "pages/common/SidePaneWrapper";
import { IDESidePaneWrapper } from "IDE";

const LibrarySidePane = () => {
return (
<SidePaneWrapper>
<IDESidePaneWrapper>
<JSLibrariesSection />
</SidePaneWrapper>
</IDESidePaneWrapper>
);
};

Expand Down

0 comments on commit 3639094

Please sign in to comment.