openreplay/frontend/app/components/Session/Layout/ToolPanel/PanelLayout.js
2021-05-01 15:12:01 +05:30

25 lines
401 B
JavaScript

import cn from 'classnames';
export function Header({
children,
className,
}) {
return (
<div
className={ cn("flex items-center justify-between border-bottom-gray-light pr-10 pl-2", className) }
style={{ height: "14%" }}
>
{ children }
</div>
);
}
export function Body({ children }) {
return (
<div style={{ height: "86%" }}>
{ children }
</div>
);
}