* [WEB-5473] fix: source map errors * [WEB-5473] chore: run codemod * fix: build errors in editor --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
14 lines
489 B
TypeScript
14 lines
489 B
TypeScript
import React from "react";
|
|
import { observer } from "mobx-react";
|
|
|
|
export const WorkspaceContentWrapper = observer(function WorkspaceContentWrapper({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="flex relative size-full overflow-hidden bg-custom-background-90 rounded-lg transition-all ease-in-out duration-300">
|
|
<div className="size-full p-2 flex-grow transition-all ease-in-out duration-300 overflow-hidden">{children}</div>
|
|
</div>
|
|
);
|
|
});
|