Design Auth index (#325)

This commit is contained in:
Charles Bochet
2023-06-18 23:51:59 +02:00
committed by GitHub
parent ffa8318e2e
commit 5904a39362
17 changed files with 325 additions and 7 deletions

View File

@ -0,0 +1,25 @@
import React from 'react';
import styled from '@emotion/styled';
import { Modal as UIModal } from '@/ui/components/modal/Modal';
type OwnProps = {
children: React.ReactNode;
};
const StyledContainer = styled.div`
align-items: center;
display: flex;
flex-direction: column;
padding-bottom: ${({ theme }) => theme.spacing(10)};
padding-top: ${({ theme }) => theme.spacing(10)};
width: 400px;
`;
export function Modal({ children }: OwnProps): JSX.Element {
return (
<UIModal>
<StyledContainer>{children}</StyledContainer>
</UIModal>
);
}