import { HelpCircle } from "@styled-icons/boxicons-solid"; import { observer } from "mobx-react-lite"; import React from "react"; import { User } from "revolt.js"; import styled from "styled-components"; import { useUI } from "../../../../lib"; import { Button, Avatar, Column, H1, Row, Tooltip } from "../../../design"; const UserId = styled.div` gap: 4px; display: flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--tertiary-foreground); a { color: var(--tertiary-foreground); } `; export interface Props { /** * User object */ user: User; } /** * Account information header component */ export const AccountDetail = observer(({ user }: Props) => { const { Link, Text, emitAction } = useUI(); return (

@{user.username}

}> }> emitAction({ type: "WriteClipboard", text: user._id, }) }> {user._id}
); });