mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added profile quick info
This commit is contained in:
parent
1241d2c784
commit
141b9c0d60
8 changed files with 84 additions and 32 deletions
|
@ -16,10 +16,11 @@ interface Props {
|
|||
const CommentAvatar: FC<Props> = ({ user, className }) => {
|
||||
return (
|
||||
<MenuButton
|
||||
position="top"
|
||||
position="top-start"
|
||||
icon={
|
||||
<Avatar url={path(['photo', 'url'], user)} username={user.username} className={className} />
|
||||
}
|
||||
translucentMenu
|
||||
>
|
||||
<ProfileQuickInfo user={user} />
|
||||
</MenuButton>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue