Fix build errors

This commit is contained in:
Kamran Ahmed
2021-09-05 18:25:49 +02:00
parent 7e0a392a87
commit 6bb1505db3
8 changed files with 67 additions and 41 deletions

View File

@ -1,10 +1,14 @@
import React from 'react';
import { Text } from '@chakra-ui/react';
import styled from 'styled-components';
type EnrichedTextType = {
children: React.ReactNode;
}
export default function EnrichedText(props: EnrichedTextType) {
return <Text lineHeight='27px' fontSize='16px' color='black' mb='18px'>{props.children}</Text>;
}
export const P = styled.p`
line-height: 27px;
font-size: 16px;
color: black;
margin-bottom: 18px;
`;