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

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

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