Files
twenty/front/src/testing/FullHeightStorybookLayout.tsx
T
Charles BochetandGitHub f935a6b723 Re-write test with storybook testing library (#150)
* Re-write test with storybook testing library

* Update CI
2023-05-29 11:02:38 +02:00

17 lines
342 B
TypeScript

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