import React from 'react'; import useTheme from '../../context/theme/useTheme'; import type { FontType } from '../../context/theme/types'; import type { LevelType } from '../../@types/typography'; import { Text, TextProps } from '../Text'; export type TitleProps = TextProps & { level?: LevelType; font?: FontType; }; export const Title: React.FC = ({ children, style, font = 'bold', level = 1, ...restTextProps }) => { const { titleFontSizes, fonts } = useTheme(); return ( {children} ); };