import React from 'react'
import { Title } from '../../types'
import './TitleSecondary.css'

export default function TitleSecondary({title, subtitle} : Title) {
  return (
    <div>
        <h1 className="title-secondary">{title}</h1>
        {subtitle ? (
            <p className='subtitule-secondary'>{subtitle}</p>
        ) : 
        <></>
        }
    </div>
    
  )
}
