mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-10-03 20:31:52 +02:00
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
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' fontSize='16px' color='black' mb='18px'>{props.children}</Text>;
|
|
}
|