import React, { FC } from 'react'
import { useTheme } from '../hooks'

const Title: FC = ({ children }) => {
    const theme = useTheme()
    return <h1 style={{ color: theme.primary }}>{children}</h1>
}

export default Title
