[ABANDONED] React/Redux front end for the Flexor social network.
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.
 
 

16 lines
415 B

import React, { FC } from 'react'
import { useHistory } from 'react-router-dom'
import { useTheme } from '../hooks'
const Logo: FC = () => {
const theme = useTheme()
const history = useHistory()
return (
<div className="logo" style={{ backgroundColor: theme.primary, color: theme.primaryAlternate }} onClick={() => history.push('/')}>
F
</div>
)
}
export default Logo