Files
twenty_crm/front/src/modules/ui/layout/components/PageBody.tsx
brendanlaschke fa33506b96 New page structure (#1377)
* - new page structure

* - removed unecessary task changes

* - handleClick -> onClick
2023-08-30 15:10:16 +02:00

15 lines
362 B
TypeScript

import { PAGE_BAR_MIN_HEIGHT } from './PageHeader';
import { RightDrawerContainer } from './RightDrawerContainer';
type OwnProps = {
children: JSX.Element | JSX.Element[];
};
export function PageBody({ children }: OwnProps) {
return (
<RightDrawerContainer topMargin={PAGE_BAR_MIN_HEIGHT + 16 + 16}>
{children}
</RightDrawerContainer>
);
}