import React , { FC } from 'react' ; import * as Styled from './PortfolioLayout.styles' ; import Head from 'next/head' ; export interface Props { title : string ; } function param { string } title param { ReactNode } children returns { JSX . Element } const PortfolioLayout = ( { children , title } ) : JSX . Element => { return ( < > < Head > < meta charSet = "utf-8" / > < meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" / > < meta name = "theme-color" content = "#000000" / > < title > { title } < /title> < /Head> < Styled . Container > { children } < /Styled.Container> < />); } ; export default PortfolioLayout ;