Add markdown rendering
This commit is contained in:
10
components/md-renderer/mdx-components/p.tsx
Normal file
10
components/md-renderer/mdx-components/p.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import { Text } from '@chakra-ui/react';
|
||||
|
||||
type EnrichedTextType = {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default function EnrichedText(props: EnrichedTextType) {
|
||||
return <Text lineHeight='27px' color='black' mb='18px'>{props.children}</Text>;
|
||||
}
|
Reference in New Issue
Block a user