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

type PageSubTitle = {
    children?: ReactNode
    color?: string
}

const PageSubTitle = ({children, color='#0303030'}: PageSubTitle) => {

    return (
        <Typography
            tag={'p'}
            fontSize={'20px'}
            fontWeight={'200'}
            letterSpacing={'0.4px'}
            color={color}
        >
            {children}
        </Typography>
    );
}

export default PageSubTitle;
