Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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;