import React, {ReactNode} from 'react';
import Typography from "./Typography";

type PageTitleProps = {
    children?: ReactNode
}

const PageTitle = ({children}: PageTitleProps) => {

    return (
        <Typography
            tag={'h1'}
            fontSize={'30px'}
            fontWeight={'200'}
            letterSpacing={'0.6px'}
            color={'var(--title-color)'}
        >
            {children}
        </Typography>
    );
}

export default PageTitle;
