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

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

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

export default Container;
