Files
developer-roadmap/components/md-renderer/mdx-components/p.tsx

11 lines
291 B
TypeScript
Raw Normal View History

2021-08-20 17:06:26 +02:00
import React from 'react';
import { Text } from '@chakra-ui/react';
type EnrichedTextType = {
children: React.ReactNode;
}
export default function EnrichedText(props: EnrichedTextType) {
2021-08-28 15:28:20 +02:00
return <Text lineHeight='27px' fontSize='16px' color='black' mb='18px'>{props.children}</Text>;
2021-08-20 17:06:26 +02:00
}