import React from 'react';
/**
* Provide Heading of page
*
* @module Section
*/
/**
* @typedef {object} props
* @property {string} [id]
* @property {string} [className]
* @property {string} heading Header text
* @property {view} children Component to render
*/
/**
* @param {props} props
* @returns {view}
*/
const Selection = (props) => (
<>
<div className={`main-wrapper__heading mt-20 ${props.className}`} id={props.id}>
{props.heading}
</div>
{props.children}
</>
);
export default Selection;