mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-14 11:06:21 +05:00
* feat: upgrade dependencies * chore: update linter and CI workflows * chore: upgrade browserslist
24 lines
597 B
TypeScript
24 lines
597 B
TypeScript
import { Typography } from 'components/typography'
|
|
import { SvgFavycon } from 'components/svgs/svg-favycon'
|
|
|
|
import styles from './index.module.scss'
|
|
|
|
export type ToolTitleProps = {
|
|
hideLogo?: boolean
|
|
small?: boolean
|
|
}
|
|
|
|
const ToolTitle = ({ hideLogo = false, small = false }: ToolTitleProps) => (
|
|
<div className={styles.root}>
|
|
{!hideLogo && <SvgFavycon />}
|
|
<Typography variant={small ? 'h2' : 'h1'} weight="extraBold" color="black">
|
|
Favycon
|
|
</Typography>
|
|
<Typography variant="superscript" tag="span" weight="bold" color="gray">
|
|
APP
|
|
</Typography>
|
|
</div>
|
|
)
|
|
|
|
export { ToolTitle }
|