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.
9 lines
226 B
9 lines
226 B
import React, { FC } from 'react'
|
|
import { useTheme } from '../hooks'
|
|
|
|
const Title: FC = ({ children }) => {
|
|
const theme = useTheme()
|
|
return <h1 style={{ color: theme.primary }}>{children}</h1>
|
|
}
|
|
|
|
export default Title
|