Design Auth index (#325)
This commit is contained in:
15
front/src/modules/auth/components/Title.tsx
Normal file
15
front/src/modules/auth/components/Title.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
type OwnProps = {
|
||||
title: string;
|
||||
};
|
||||
|
||||
const StyledTitle = styled.div`
|
||||
font-size: ${({ theme }) => theme.fontSizeExtraLarge};
|
||||
font-weight: ${({ theme }) => theme.fontWeightSemibold};
|
||||
margin-top: ${({ theme }) => theme.spacing(10)};
|
||||
`;
|
||||
|
||||
export function Title({ title }: OwnProps): JSX.Element {
|
||||
return <StyledTitle>{title}</StyledTitle>;
|
||||
}
|
||||
Reference in New Issue
Block a user