2021-04-18 01:56:23 +02:00
|
|
|
import htmlParser from 'html-react-parser'
|
|
|
|
|
|
|
|
export interface InterestParagraphProps {
|
|
|
|
title: string
|
|
|
|
description: string
|
|
|
|
}
|
|
|
|
|
|
|
|
export const InterestParagraph: React.FC<InterestParagraphProps> = (props) => {
|
|
|
|
const { title, description } = props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
2021-05-08 19:52:04 +02:00
|
|
|
<p className='text-center my-6 text-gray dark:text-gray-dark'>
|
2021-08-23 19:41:39 +02:00
|
|
|
<strong className='text-yellow font-semibold text-lg dark:text-yellow-dark'>
|
2021-05-08 19:52:04 +02:00
|
|
|
{title}
|
|
|
|
</strong>
|
2021-04-18 01:56:23 +02:00
|
|
|
<br />
|
2021-06-10 00:17:52 +02:00
|
|
|
<span>{htmlParser(description)}</span>
|
2021-04-18 01:56:23 +02:00
|
|
|
</p>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|