import { observer } from "mobx-react-lite"; import React from "react"; import type { UserStatus as Interface } from "revolt-api"; import type { User } from "revolt.js"; export type Props = { /** * User we are dealing with */ user?: User; }; const mappings: Record = { Online: "online", Idle: "away", Busy: "busy", Invisible: "invisible", }; /** * Overlays user status in current SVG */ export const UserStatus = observer(({ user }: Props) => { return ( ); });