818efd72d0
* feat: add Fields table to Object Detail page Closes #1815 * refactor: add ObjectFieldDataType
18 lines
492 B
TypeScript
18 lines
492 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 const PagePanel = ({ children }: { children: React.ReactNode }) => (
|
|
<StyledPanel>{children}</StyledPanel>
|
|
);
|