Personal-site/components/HorizontalSection.js

17 lines
390 B
JavaScript
Raw Normal View History

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