Files
twenty/front/src/modules/auth/components/ui/Title.tsx
Charles Bochet 8790369f72 Implement Authentication with email + password (#343)
* Implement Login screen ui and add RequireNotAuth guard

* Perform login through auth/password-login flow
2023-06-20 19:17:31 -07:00

17 lines
431 B
TypeScript

import React from 'react';
import styled from '@emotion/styled';
type OwnProps = {
children: React.ReactNode;
};
const StyledTitle = styled.div`
font-size: ${({ theme }) => theme.fontSizeExtraLarge};
font-weight: ${({ theme }) => theme.fontWeightSemibold};
margin-top: ${({ theme }) => theme.spacing(10)};
`;
export function Title({ children }: OwnProps): JSX.Element {
return <StyledTitle>{children}</StyledTitle>;
}