import React from "react"; import PropTypes from "prop-types"; import "./FAQ.scss"; export default function FAQ({ title, children }) { return (

{title}

{children}
); } FAQ.propTypes = { title: PropTypes.string, children: PropTypes.node };