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
256 B
9 lines
256 B
import React, { FC } from 'react'
|
|
import { useTheme } from 'src/hooks'
|
|
|
|
const Subtitle: FC = ({ children }) => {
|
|
const theme = useTheme()
|
|
return <h2 className="subtitle" style={{ color: theme.secondary }}>{children}</h2>
|
|
}
|
|
|
|
export default Subtitle
|