Files
twenty_crm/front/src/modules/ui/layout/page/PagePanel.tsx
Thaïs 18dac1a2b6 feat: add Relation field form (#2572)
* feat: add useCreateOneRelationMetadata and useRelationMetadata

Closes #2423

* feat: add Relation field form

Closes #2003

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-11-17 23:38:39 +01:00

16 lines
452 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};
height: 100%;
overflow: auto;
width: 100%;
`;
export const PagePanel = ({ children }: { children: React.ReactNode }) => (
<StyledPanel>{children}</StyledPanel>
);