mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
14 lines
368 B
JavaScript
14 lines
368 B
JavaScript
// @flow
|
|
import * as React from 'react'
|
|
import HeaderBarCommon from './common'
|
|
import { type User } from '../../containers/user'
|
|
|
|
const HeaderBarAuth: React.StatelessFunctionalComponent<{ user: User }> = ({ user }) => (
|
|
<HeaderBarCommon>
|
|
<div>
|
|
Hey there, {user.username}#{user.discriminator}
|
|
</div>
|
|
</HeaderBarCommon>
|
|
)
|
|
|
|
export default HeaderBarAuth
|