This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/packages/webapp/src/components/FAQ/FAQ.js

21 lines
393 B
JavaScript

import React from "react";
import PropTypes from "prop-types";
import "./FAQ.scss";
export default function FAQ({ title, children }) {
return (
<div className="faq">
<div className="faq-dash" />
<div className="faq-text">
<h3>{title}</h3>
{children}
</div>
</div>
);
}
FAQ.propTypes = {
title: PropTypes.string,
children: PropTypes.node,
};