This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/website/components/FunctionPage/FunctionArticle.js

12 lines
338 B
JavaScript
Raw Normal View History

2020-08-03 12:04:07 +02:00
import htmlParser from 'html-react-parser'
const FunctionArticle = ({ article }) => {
2020-08-03 12:04:07 +02:00
return (
<div style={{ marginBottom: '50px' }} className='container-fluid'>
{(article != null) ? htmlParser(article) : <p className='text-center'>L'article n'est pas encore disponible.</p>}
</div>
)
}
2020-08-03 12:04:07 +02:00
export default FunctionArticle