Files
twenty/front/src/layout/containers/HorizontalyAlignedContainer.tsx
T
Charles Bochet b8d089395f Add linter on CI
2023-04-20 11:51:04 +02:00

17 lines
348 B
TypeScript

import styled from '@emotion/styled';
type OwnProps = {
children: JSX.Element[] | JSX.Element;
};
const StyledContainer = styled.div`
display: flex;
align-items: center;
`;
function HorizontalyAlignedContainer({ children }: OwnProps) {
return <StyledContainer>{children}</StyledContainer>;
}
export default HorizontalyAlignedContainer;