You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
373 B
13 lines
373 B
import Typography from '@mui/material/Typography'; |
|
import { styled } from '@mui/material/styles'; |
|
import { TEXT } from '../../lib/consts/DEFAULT_THEME'; |
|
|
|
const WhiteTypography = styled(Typography)({ |
|
color: TEXT, |
|
}); |
|
|
|
const HeaderText = ({ text }: { text: string }): JSX.Element => ( |
|
<WhiteTypography variant="h4">{text}</WhiteTypography> |
|
); |
|
|
|
export default HeaderText;
|
|
|