Next.js template
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Section.js 296B

12345678910111213
  1. import React from 'react';
  2. import PropType from 'prop-types';
  3. const Section = ({ children, className }) => (
  4. <section className={`l-section ${className || ''}`}>{children}</section>
  5. );
  6. Section.propTypes = {
  7. children: PropType.node,
  8. className: PropType.string,
  9. };
  10. export default Section;