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
Raw Normal View History

2020-02-18 16:25:03 +00:00
import React from "react";
2020-02-28 11:30:27 +00:00
import PropTypes from "prop-types";
2020-02-18 16:25:03 +00:00
import "./FAQ.scss";
2020-02-12 17:23:10 +00:00
export default function FAQ({ title, children }) {
return (
<div className="faq">
<div className="faq-dash" />
<div className="faq-text">
<h3>{title}</h3>
{children}
</div>
</div>
2020-02-18 16:25:03 +00:00
);
2020-02-12 17:23:10 +00:00
}
2020-02-28 11:30:27 +00:00
FAQ.propTypes = {
title: PropTypes.string,
2020-03-23 14:02:47 +00:00
children: PropTypes.node,
2020-02-28 11:30:27 +00:00
};