import React from 'react';
import PropTypes from 'prop-types';

const Container: React.FC<Props> = ({id, title, children}) => {
    return(
        <div className={'container_main'} id={id}>
            <p className={'container_title'}> {title} </p>
            <>{children}</>
        </div>
    )
}

type Props = {
  id: number,
  title: string,
  children: React.ReactNode,
};

export default Container;
