* Implement Login screen ui and add RequireNotAuth guard * Perform login through auth/password-login flow
17 lines
431 B
TypeScript
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>;
|
|
}
|