Personal-site/components/Section.js

15 lines
271 B
JavaScript
Raw Permalink Normal View History

2020-06-14 11:47:02 +00:00
import PropTypes from "prop-types";
import React from "react";
export default function Section(props) {
return (
<section className="wrapper" {...props}>
{props.children}
</section>
);
}
Section.propTypes = {
children: PropTypes.node.isRequired,
};