Files
twenty/front/src/testing/FullHeightStorybookLayout.tsx
2023-06-14 07:59:16 +02:00

17 lines
342 B
TypeScript

import styled from '@emotion/styled';
const StyledLayout = styled.div`
display: flex;
flex-direction: row;
height: calc(100vh - 32px);
width: calc(100vw - 32px);
`;
type OwnProps = {
children: JSX.Element;
};
export function FullHeightStorybookLayout({ children }: OwnProps) {
return <StyledLayout>{children}</StyledLayout>;
}