2022-09-08 14:07:21 +02:00

10 lines
263 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
// eslint-disable-next-line react/no-danger
export const Html = ({ content }) => <div dangerouslySetInnerHTML={{ __html: content }} />;
Html.propTypes = {
content: PropTypes.string.isRequired,
};