text: import React from "react";
  import PropTypes from "prop-types";
  
  import { richTextToPTags } from "../../../utilities";
  
  const RichText = ({component}) => <>{richTextToPTags(component.text)}</>;
  
  RichText.propTypes = {
    component: PropTypes.object.isRequired,
  };
  
  export default RichText;
  