Files
twenty_crm/front/src/modules/ui/layout/components/PagePanel.tsx
Charles Bochet ade5e52e55 Clean and re-organize post table refactoring (#1000)
* Clean and re-organize post table refactoring

* Fix tests
2023-07-30 18:26:32 -07:00

18 lines
496 B
TypeScript

import React from 'react';
import styled from '@emotion/styled';
const StyledPanel = styled.div`
background: ${({ theme }) => theme.background.primary};
border: 1px solid ${({ theme }) => theme.border.color.medium};
border-radius: ${({ theme }) => theme.border.radius.md};
display: flex;
flex-direction: row;
height: 100%;
overflow: auto;
width: 100%;
`;
export function PagePanel({ children }: { children: React.ReactNode }) {
return <StyledPanel>{children}</StyledPanel>;
}