blob: 3e9ad50a2268fb5550a13d9a45889a2947346d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import React from 'react'
import classNames from 'classnames'
import { Container } from 'reactstrap'
import PropTypes from 'prop-types'
import { contentSection } from './ContentSection.module.scss'
const ContentSection = ({ name, title, children, className }) => (
<section id={name} className={classNames(className, contentSection)}>
<Container>
<h1>{title}</h1>
{children}
</Container>
</section>
)
ContentSection.propTypes = {
name: PropTypes.string.isRequired,
}
export default ContentSection
|